<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Application Programming Interface (API)</title>
<link href="tabs.css" rel="stylesheet" type="text/css" />
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="alias.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="alias.js"></script>

<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>



<script type="text/javascript">
  jQuery(document).ready(function () {
    if(gref){ // Number all _img and _table classes
      gref();
    }
  });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->

<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">nRF Gazell
   &#160;<span id="projectnumber">version 0.4.2</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('group__gzll__02__api.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">Application Programming Interface (API)</div>  </div>
<div class="ingroups"><a class="el" href="group__modules__01__gzll.html">Gazell Link Layer</a></div></div>
<div class="contents">
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnrf__gzll__device__tx__info__t.html">nrf_gzll_device_tx_info_t</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Data structure containing information about the last packet transmission.  <a href="structnrf__gzll__device__tx__info__t.html#details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnrf__gzll__host__rx__info__t.html">nrf_gzll_host_rx_info_t</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Data structure containing information about the last packet received.  <a href="structnrf__gzll__host__rx__info__t.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga2321f5573e2cd70651559e6380433eda">nrf_gzll_mode_t</a> { <a class="el" href="group__gzll__02__api.html#gga2321f5573e2cd70651559e6380433edaaf43e2f82283221e9ecacaca178934e47">NRF_GZLL_MODE_DEVICE</a>, 
<a class="el" href="group__gzll__02__api.html#gga2321f5573e2cd70651559e6380433edaa9f1389775c6d9e971b3bf299e2d8f4bd">NRF_GZLL_MODE_HOST</a>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumerator used for selecting Gazell mode.  <a href="group__gzll__02__api.html#ga2321f5573e2cd70651559e6380433eda">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gad45683bddfd8a170f89280b722f7744c">nrf_gzll_device_channel_selection_policy_t</a> { <a class="el" href="group__gzll__02__api.html#ggad45683bddfd8a170f89280b722f7744ca7ac745d687a1dc56962bed8a98ba719f">NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_SUCCESSFUL</a>, 
<a class="el" href="group__gzll__02__api.html#ggad45683bddfd8a170f89280b722f7744ca97b439d85d2666cb9676c45f0db57a55">NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_CURRENT</a>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumerator used for selecting Gazell Device channel selection policy.  <a href="group__gzll__02__api.html#gad45683bddfd8a170f89280b722f7744c">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga838445eeb3dabb47b746708bf4cf851d">nrf_gzll_tx_power_t</a> { <br/>
&#160;&#160;<a class="el" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da3eab1d41cecc3cc7ba907c4ac7f27699">NRF_GZLL_TX_POWER_4_DBM</a>, 
<a class="el" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da6925d58d3c9fa86f79d475976818c318">NRF_GZLL_TX_POWER_0_DBM</a>, 
<a class="el" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851dafef1f0ca63fb9be78fe017c65a914eb4">NRF_GZLL_TX_POWER_N4_DBM</a>, 
<a class="el" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da0e59e0dac9763f57f4ed7080750c09f8">NRF_GZLL_TX_POWER_N8_DBM</a>, 
<br/>
&#160;&#160;<a class="el" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da9f9f798b37a40421751e81f3b6f8823c">NRF_GZLL_TX_POWER_N12_DBM</a>, 
<a class="el" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da9e5d236d4715d34ee730727b5babb149">NRF_GZLL_TX_POWER_N16_DBM</a>, 
<a class="el" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da35ef035819220255bfc7f87f4eafd797">NRF_GZLL_TX_POWER_N20_DBM</a>
<br/>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumerator used for selecting the transmit (TX) power.  <a href="group__gzll__02__api.html#ga838445eeb3dabb47b746708bf4cf851d">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gabb5224046a930344cc3f5586bf9b064a">nrf_gzll_datarate_t</a> { <a class="el" href="group__gzll__02__api.html#ggabb5224046a930344cc3f5586bf9b064aab5c82f8676fea3d65782748a7be344f5">NRF_GZLL_DATARATE_250KBIT</a>, 
<a class="el" href="group__gzll__02__api.html#ggabb5224046a930344cc3f5586bf9b064aa246aa294dc264af2beeadae662e0aa24">NRF_GZLL_DATARATE_1MBIT</a>, 
<a class="el" href="group__gzll__02__api.html#ggabb5224046a930344cc3f5586bf9b064aa34b5649392e2948bbb7f284927781883">NRF_GZLL_DATARATE_2MBIT</a>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumerator used for selecting the radio datarate.  <a href="group__gzll__02__api.html#gabb5224046a930344cc3f5586bf9b064a">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaa51ebe606da1801bb1ce72b2257356ab">nrf_gzll_error_code_t</a> { <br/>
&#160;&#160;<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abace4bbba0d262295c16f3156ae0c9907b">NRF_GZLL_ERROR_CODE_NO_ERROR</a> =  0, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba30549d446599d7530e14ea19b5ce99e2">NRF_GZLL_ERROR_CODE_FAILED_TO_INITIALIZE</a> =  1, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba2b15f5f975ef14b5191e5262ef94f93d">NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_CONFIGURE_WHEN_ENABLED</a> =  2, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abaded91da689711dd5a654cf81fc18d835">NRF_GZLL_ERROR_CODE_POINTER_IS_NULL</a> =  3, 
<br/>
&#160;&#160;<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abac4918d5a5f1f69278c4009143b18f1bc">NRF_GZLL_ERROR_CODE_INVALID_PIPE</a> =  4, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba380b30b67d0ba401d7472ea3974b2af6">NRF_GZLL_ERROR_CODE_INVALID_MODE</a> =  5, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba9da1b5f94da0fa0e3c64b52feac8ad77">NRF_GZLL_ERROR_CODE_INVALID_PAYLOAD_LENGTH</a> =  6, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abac830d264d08837ad86b5be4167b52463">NRF_GZLL_ERROR_CODE_INVALID_CHANNEL_TABLE_SIZE</a> =  7, 
<br/>
&#160;&#160;<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba8d2a830e8e47d991cca27738eafc8606">NRF_GZLL_ERROR_CODE_INSUFFICIENT_PACKETS_AVAILABLE</a> =  8, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abaa3ccbb11bd73955faf2d7355bcb1168f">NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_ADD_TO_FULL_FIFO</a> =  9, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba49865c493f4c9896945c3fa2a6175895">NRF_GZLL_ERROR_CODE_NO_SPACE_IN_RX_FIFO_FOR_ACK</a> =  10, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356ababc0c04d564d90f4216797e7816e9e68b">NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_FETCH_FROM_EMPTY_FIFO</a> =  11, 
<br/>
&#160;&#160;<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abacffaff5d6b7b811215ddafc76ee9ea84">NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_FLUSH_WHEN_ENABLED</a> =  12, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abaf3b942aca16291c78ebc00b7d80cbbf4">NRF_GZLL_ERROR_CODE_INVALID_PARAMETER</a> =  14, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba0653cf03943e6223a42945e8db7d9870">NRF_GZLL_ERROR_CODE_INTERNAL_ASSERT_OCCURRED</a> =  15, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba2b0ac52c845b024691fa0a3b483651fb">NRF_GZLL_ERROR_CODE_CALLBACK_NOT_IMPLEMENTED</a> =  16, 
<br/>
&#160;&#160;<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abad28c8f662a56566e788968242195ae43">NRF_GZLL_ERROR_CODE_NUMBER_OF_ERROR_CODES</a> =  17
<br/>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumerator used for error codes for Gazell API functions.  <a href="group__gzll__02__api.html#gaa51ebe606da1801bb1ce72b2257356ab">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
General API functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gacba07d9c893b4673c563ced97cccba94">nrf_gzll_init</a> (<a class="el" href="group__gzll__02__api.html#ga2321f5573e2cd70651559e6380433eda">nrf_gzll_mode_t</a> mode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize Gazell.  <a href="#gacba07d9c893b4673c563ced97cccba94"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gadfb1003b245b019481334e6d087f928e">nrf_gzll_enable</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable Gazell.  <a href="#gadfb1003b245b019481334e6d087f928e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga20e0e3ca35dda6b9220b1ddce7565687">nrf_gzll_disable</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable Gazell.  <a href="#ga20e0e3ca35dda6b9220b1ddce7565687"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gab292792f57b5b3d663c141ca3bb08f2f">nrf_gzll_is_enabled</a> (void)</td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Device mode callback functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gac1306762dc2ccfc5c2bbdbe2d85a93aa">nrf_gzll_device_tx_success</a> (uint32_t pipe, <a class="el" href="structnrf__gzll__device__tx__info__t.html">nrf_gzll_device_tx_info_t</a> tx_info)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">ACK received callback (Device mode only).  <a href="#gac1306762dc2ccfc5c2bbdbe2d85a93aa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga0642fed399ed3ec41406cd4323edf5ad">nrf_gzll_device_tx_failed</a> (uint32_t pipe, <a class="el" href="structnrf__gzll__device__tx__info__t.html">nrf_gzll_device_tx_info_t</a> tx_info)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Transmission failed callback (Device mode only).  <a href="#ga0642fed399ed3ec41406cd4323edf5ad"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Host mode callback functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga116b8ce684c3f6fe8c63c371b913aa3e">nrf_gzll_host_rx_data_ready</a> (uint32_t pipe, <a class="el" href="structnrf__gzll__host__rx__info__t.html">nrf_gzll_host_rx_info_t</a> rx_info)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Data packet received callback (Host mode only).  <a href="#ga116b8ce684c3f6fe8c63c371b913aa3e"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Callback functions for both Device and Host mode</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga722e2ee917072fca60a50a23d8c84414">nrf_gzll_disabled</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Disabled callback.  <a href="#ga722e2ee917072fca60a50a23d8c84414"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Packet transmission and receiving functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga1c0b1d1838e032af28c35d7c3e0603e0">nrf_gzll_add_packet_to_tx_fifo</a> (uint32_t pipe, uint8_t *payload, uint32_t length)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a packet to the tail of the TX FIFO.  <a href="#ga1c0b1d1838e032af28c35d7c3e0603e0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga419c8ce6a3e08d5dec8b50ef88b3cc2b">nrf_gzll_fetch_packet_from_rx_fifo</a> (uint32_t pipe, uint8_t *payload, uint32_t *length)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetch a packet from the head of the RX FIFO.  <a href="#ga419c8ce6a3e08d5dec8b50ef88b3cc2b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaad1e741b39d5eea07f64538d38848071">nrf_gzll_get_tx_fifo_packet_count</a> (uint32_t pipe)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of packets in the TX FIFO on a specific pipe.  <a href="#gaad1e741b39d5eea07f64538d38848071"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gade39485ec6ab77188c1798c76e564c28">nrf_gzll_get_rx_fifo_packet_count</a> (uint32_t pipe)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of packets in the RX FIFO on a specific pipe.  <a href="#gade39485ec6ab77188c1798c76e564c28"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga7243f6f81a93686cfc48623c37695dcc">nrf_gzll_get_total_allocated_packet_count</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the total number of packets residing in all TX and RX FIFOs.  <a href="#ga7243f6f81a93686cfc48623c37695dcc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga6c3f739115d7087f2cb0db11e7af54c8">nrf_gzll_ok_to_add_packet_to_tx_fifo</a> (uint32_t pipe)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if adding a packet to a pipe's TX FIFO should be successful.  <a href="#ga6c3f739115d7087f2cb0db11e7af54c8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga84321e0115f0b19f1c9c75c3a1b818bc">nrf_gzll_flush_tx_fifo</a> (uint32_t pipe)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Flush the RX FIFO for a specific pipe.  <a href="#ga84321e0115f0b19f1c9c75c3a1b818bc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaf28a21bdbcc64b12e1c84f95f2371603">nrf_gzll_flush_rx_fifo</a> (uint32_t pipe)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Flush the RX FIFO for a specific pipe.  <a href="#gaf28a21bdbcc64b12e1c84f95f2371603"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Configuration functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrpe75440b57b1dc7501eb46533bd6cdd11"></a> Configuration 'set' functions may only be called while Gazell is disabled. The new parameter comes into effect when Gazell is enabled again.</p>
<p>Configuration 'get' functions may be called at any time. </p>
</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaac5d6bc55829dc0cecc0eaf4889f8592">nrf_gzll_set_mode</a> (<a class="el" href="group__gzll__02__api.html#ga2321f5573e2cd70651559e6380433eda">nrf_gzll_mode_t</a> mode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the mode.  <a href="#gaac5d6bc55829dc0cecc0eaf4889f8592"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gzll__02__api.html#ga2321f5573e2cd70651559e6380433eda">nrf_gzll_mode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaeffe498ba9c2aed68eb2c516eff61574">nrf_gzll_get_mode</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#gaac5d6bc55829dc0cecc0eaf4889f8592" title="Set the mode.">nrf_gzll_set_mode()</a>.  <a href="#gaeffe498ba9c2aed68eb2c516eff61574"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gada5d1b9ca90be29ebc600a977cb1ba2d">nrf_gzll_set_base_address_0</a> (uint32_t base_address)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the base address for pipe 0.  <a href="#gada5d1b9ca90be29ebc600a977cb1ba2d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaaf2d35d57c38533a2f993f6d6bbf7e88">nrf_gzll_get_base_address_0</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#gada5d1b9ca90be29ebc600a977cb1ba2d" title="Set the base address for pipe 0.">nrf_gzll_set_base_address_0()</a>.  <a href="#gaaf2d35d57c38533a2f993f6d6bbf7e88"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gafae33f3818b7c9a64d368352e7218a08">nrf_gzll_set_base_address_1</a> (uint32_t base_address)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the base address for pipes 1-7.  <a href="#gafae33f3818b7c9a64d368352e7218a08"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga3b5d543cc896193e1fe6d7eeffeba6b3">nrf_gzll_get_base_address_1</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#gafae33f3818b7c9a64d368352e7218a08" title="Set the base address for pipes 1-7.">nrf_gzll_set_base_address_1()</a>.  <a href="#ga3b5d543cc896193e1fe6d7eeffeba6b3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga8ddb9c88340dfa0dd26a49f5a233bc14">nrf_gzll_set_address_prefix_byte</a> (uint32_t pipe, uint8_t address_prefix_byte)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the address prefix byte for a specific pipe.  <a href="#ga8ddb9c88340dfa0dd26a49f5a233bc14"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga0af9242850d7e512721f941fe12bd6bc">nrf_gzll_get_address_prefix_byte</a> (uint32_t pipe, uint8_t *out_address_prefix_byte)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga8ddb9c88340dfa0dd26a49f5a233bc14" title="Set the address prefix byte for a specific pipe.">nrf_gzll_set_address_prefix_byte()</a>.  <a href="#ga0af9242850d7e512721f941fe12bd6bc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga7c41a4d1c773221ad106ebc67832da77">nrf_gzll_set_rx_pipes_enabled</a> (uint32_t pipes)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set which pipes shall listen for packets in Host mode.  <a href="#ga7c41a4d1c773221ad106ebc67832da77"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gac3b61acd9649d1bf7fe951176b6b6750">nrf_gzll_get_rx_pipes_enabled</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga7c41a4d1c773221ad106ebc67832da77" title="Set which pipes shall listen for packets in Host mode.">nrf_gzll_set_rx_pipes_enabled()</a>.  <a href="#gac3b61acd9649d1bf7fe951176b6b6750"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga3347094a64c07793c773c4fdf4bc4bff">nrf_gzll_set_timeslot_period</a> (uint32_t period_us)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the timeslot period.  <a href="#ga3347094a64c07793c773c4fdf4bc4bff"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga4fa5dc9ec5f9686ce38fffbb2eded3e2">nrf_gzll_get_timeslot_period</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga4fa5dc9ec5f9686ce38fffbb2eded3e2" title="Get function counterpart to nrf_gzll_get_timeslot_period().">nrf_gzll_get_timeslot_period()</a>.  <a href="#ga4fa5dc9ec5f9686ce38fffbb2eded3e2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga692ed4d88a064fdf9a4e69f939582911">nrf_gzll_set_device_channel_selection_policy</a> (<a class="el" href="group__gzll__02__api.html#gad45683bddfd8a170f89280b722f7744c">nrf_gzll_device_channel_selection_policy_t</a> policy)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Device channel selection policy.  <a href="#ga692ed4d88a064fdf9a4e69f939582911"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gzll__02__api.html#gad45683bddfd8a170f89280b722f7744c">nrf_gzll_device_channel_selection_policy_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga81c1cb06617bc0ceb9efa2f461d0f5c6">nrf_gzll_get_device_channel_selection_policy</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga692ed4d88a064fdf9a4e69f939582911" title="Set the Device channel selection policy.">nrf_gzll_set_device_channel_selection_policy()</a>.  <a href="#ga81c1cb06617bc0ceb9efa2f461d0f5c6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaf636a5a1aa2d4a791849de510b69a604">nrf_gzll_set_timeslots_per_channel</a> (uint32_t timeslots)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the number of timeslots that Gazell shall reside on a single channel before switching to another channel.  <a href="#gaf636a5a1aa2d4a791849de510b69a604"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga815a055f876aef1dded974fae68eb976">nrf_gzll_get_timeslots_per_channel</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#gaf636a5a1aa2d4a791849de510b69a604" title="Set the number of timeslots that Gazell shall reside on a single channel before switching to another ...">nrf_gzll_set_timeslots_per_channel()</a>.  <a href="#ga815a055f876aef1dded974fae68eb976"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga8a1bef2e6f32bd8dc55e9abde3007aed">nrf_gzll_set_timeslots_per_channel_when_device_out_of_sync</a> (uint32_t timeslots)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the number of timeslots that a Gazell shall reside on a single channel before switching to another channel when in the "out of sync" state.  <a href="#ga8a1bef2e6f32bd8dc55e9abde3007aed"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga16188f10fcefb950bc8d7f3498214bfa">nrf_gzll_get_timeslots_per_channel_when_device_out_of_sync</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga8a1bef2e6f32bd8dc55e9abde3007aed" title="Set the number of timeslots that a Gazell shall reside on a single channel before switching to anothe...">nrf_gzll_set_timeslots_per_channel_when_device_out_of_sync()</a>.  <a href="#ga16188f10fcefb950bc8d7f3498214bfa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga1b34f8db6bfac6c6e232c2767a260bf3">nrf_gzll_set_sync_lifetime</a> (uint32_t lifetime)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the number of timeslots after a successful reception of a Device or Host packet that the Gazell Link Layer shall assume that the link is synchronized. A value of 0 implies that the link is always out of sync.  <a href="#ga1b34f8db6bfac6c6e232c2767a260bf3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gabefa7b61295caa3d3fc1faaf594286bd">nrf_gzll_get_sync_lifetime</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga1b34f8db6bfac6c6e232c2767a260bf3" title="Set the number of timeslots after a successful reception of a Device or Host packet that the Gazell L...">nrf_gzll_set_sync_lifetime()</a>.  <a href="#gabefa7b61295caa3d3fc1faaf594286bd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga6e1c4ec6c4f7acf92a97bffbb6b89333">nrf_gzll_set_max_tx_attempts</a> (uint16_t max_tx_attempts)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the maximum number of TX attempts that can be used for a single packet.  <a href="#ga6e1c4ec6c4f7acf92a97bffbb6b89333"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaf74cd71124b955a69d7db6ea401631c6">nrf_gzll_get_max_tx_attempts</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga6e1c4ec6c4f7acf92a97bffbb6b89333" title="Set the maximum number of TX attempts that can be used for a single packet.">nrf_gzll_set_max_tx_attempts()</a>.  <a href="#gaf74cd71124b955a69d7db6ea401631c6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga1aa10efb06cf0cd2a5b197a4cd65deaa">nrf_gzll_set_channel_table</a> (uint8_t *channel_table, uint32_t size)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the table of Radio Frequency (RF) channels.  <a href="#ga1aa10efb06cf0cd2a5b197a4cd65deaa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga803e8873a16e0379a752d6252da51fb5">nrf_gzll_get_channel_table</a> (uint8_t *channel_table, uint32_t *size)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the table of Radio Frequency (RF) channels.  <a href="#ga803e8873a16e0379a752d6252da51fb5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gad8c90e87c445372cde7175b4a55d6bec">nrf_gzll_get_channel_table_size</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current channel table size.  <a href="#gad8c90e87c445372cde7175b4a55d6bec"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga5d1f1ac31b3e851935545858529e6420">nrf_gzll_set_tx_power</a> (<a class="el" href="group__gzll__02__api.html#ga838445eeb3dabb47b746708bf4cf851d">nrf_gzll_tx_power_t</a> tx_power)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the radio TX power.  <a href="#ga5d1f1ac31b3e851935545858529e6420"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gzll__02__api.html#ga838445eeb3dabb47b746708bf4cf851d">nrf_gzll_tx_power_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga48046c21e470386267c79b9ee08d5026">nrf_gzll_get_tx_power</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga5d1f1ac31b3e851935545858529e6420" title="Set the radio TX power.">nrf_gzll_set_tx_power()</a>.  <a href="#ga48046c21e470386267c79b9ee08d5026"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga31ea7c06c87b5068dcd39be89f390142">nrf_gzll_set_datarate</a> (<a class="el" href="group__gzll__02__api.html#gabb5224046a930344cc3f5586bf9b064a">nrf_gzll_datarate_t</a> data_rate)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the radio datarate.  <a href="#ga31ea7c06c87b5068dcd39be89f390142"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gzll__02__api.html#gabb5224046a930344cc3f5586bf9b064a">nrf_gzll_datarate_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gac815ca7c9ad81b9193f2f1d1aa7aa302">nrf_gzll_get_datarate</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga31ea7c06c87b5068dcd39be89f390142" title="Set the radio datarate.">nrf_gzll_set_datarate()</a>.  <a href="#gac815ca7c9ad81b9193f2f1d1aa7aa302"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Error handling functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gzll__02__api.html#gaa51ebe606da1801bb1ce72b2257356ab">nrf_gzll_error_code_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gab36bed58f70b88b8fede5d3d8fa3f1c7">nrf_gzll_get_error_code</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Gazell error code.  <a href="#gab36bed58f70b88b8fede5d3d8fa3f1c7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaeeb3f4c59577bed1590267385d5e13f2">nrf_gzll_reset_error_code</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the Gazell error code.  <a href="#gaeeb3f4c59577bed1590267385d5e13f2"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Hardware resources used by Gazell</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab2fdc587bd85b13d4b0bf8f9feace2ec"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_HIGH_IRQ_PRIORITY" ref="gab2fdc587bd85b13d4b0bf8f9feace2ec" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gab2fdc587bd85b13d4b0bf8f9feace2ec">NRF_GZLL_HIGH_IRQ_PRIORITY</a>&#160;&#160;&#160;0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Interrupt priority the Gazell timer and the radio. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6eda116d9b9588ab0c06eb210cb2a6ec"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_LOW_IRQ_PRIORITY" ref="ga6eda116d9b9588ab0c06eb210cb2a6ec" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga6eda116d9b9588ab0c06eb210cb2a6ec">NRF_GZLL_LOW_IRQ_PRIORITY</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Interrupt priority for Gazell callback functions. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gabb75bf669f2489efadb76785f3740b42"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_SWI_IRQn" ref="gabb75bf669f2489efadb76785f3740b42" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gabb75bf669f2489efadb76785f3740b42">NRF_GZLL_SWI_IRQn</a>&#160;&#160;&#160;SWI0_IRQn</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Software interrupt # used for callback functions. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8b4bb4ce6d3df8839acfb3b0e09e0df0"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_SWI_IRQ_HANDLER" ref="ga8b4bb4ce6d3df8839acfb3b0e09e0df0" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga8b4bb4ce6d3df8839acfb3b0e09e0df0">NRF_GZLL_SWI_IRQ_HANDLER</a>&#160;&#160;&#160;SWI0_IRQHandler</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Software interrupt handler used for callback functions. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga7371694ff23f9d46c63ed8bb31afa14f"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_TIMER" ref="ga7371694ff23f9d46c63ed8bb31afa14f" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga7371694ff23f9d46c63ed8bb31afa14f">NRF_GZLL_TIMER</a>&#160;&#160;&#160;NRF_TIMER2</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Timer to be used as flywheel timer. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga77b4b223b1c210326a88408d24dc8277"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_TIMER_PERPOWER_Msk" ref="ga77b4b223b1c210326a88408d24dc8277" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga77b4b223b1c210326a88408d24dc8277">NRF_GZLL_TIMER_PERPOWER_Msk</a>&#160;&#160;&#160;POWER_PERPOWER_TIMER2_Msk</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">PERPOWER mask for the timer. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga3a3819f602d5f041be1223905a264db3"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_TIMER_IRQn" ref="ga3a3819f602d5f041be1223905a264db3" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga3a3819f602d5f041be1223905a264db3">NRF_GZLL_TIMER_IRQn</a>&#160;&#160;&#160;TIMER2_IRQn</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Interrupt # for the timer. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga495eb1602f3bc0ff1f6ca3ef90d5c31f"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_TIMER_IRQ_HANDLER" ref="ga495eb1602f3bc0ff1f6ca3ef90d5c31f" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga495eb1602f3bc0ff1f6ca3ef90d5c31f">NRF_GZLL_TIMER_IRQ_HANDLER</a>&#160;&#160;&#160;TIMER2_IRQHandler</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Interrupt handler for the timer. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga55e18dde4117907c84419369160aa238"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_PPI_EEP0" ref="ga55e18dde4117907c84419369160aa238" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga55e18dde4117907c84419369160aa238">NRF_GZLL_PPI_EEP0</a>&#160;&#160;&#160;(NRF_PPI -&gt; CH0_EEP)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gazell PPI event endpoint 0. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga268edd90e1467bbb8f43b2bfa2f41455"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_PPI_TEP0" ref="ga268edd90e1467bbb8f43b2bfa2f41455" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga268edd90e1467bbb8f43b2bfa2f41455">NRF_GZLL_PPI_TEP0</a>&#160;&#160;&#160;(NRF_PPI -&gt; CH0_TEP)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gazell PPI task endpoint 0. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab70e773e8d2c2bda1586b0f85b11d20a"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_PPI_EEP1" ref="gab70e773e8d2c2bda1586b0f85b11d20a" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gab70e773e8d2c2bda1586b0f85b11d20a">NRF_GZLL_PPI_EEP1</a>&#160;&#160;&#160;(NRF_PPI -&gt; CH1_EEP)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gazell PPI event endpoint 1. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac97a6c424a4cbd661e484ebd6cc01fbc"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_PPI_TEP1" ref="gac97a6c424a4cbd661e484ebd6cc01fbc" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gac97a6c424a4cbd661e484ebd6cc01fbc">NRF_GZLL_PPI_TEP1</a>&#160;&#160;&#160;(NRF_PPI -&gt; CH1_TEP)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gazell PPI task endpoint 1. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9a91dd621ee78d6145fc176826be440e"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_PPI_EEP2" ref="ga9a91dd621ee78d6145fc176826be440e" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga9a91dd621ee78d6145fc176826be440e">NRF_GZLL_PPI_EEP2</a>&#160;&#160;&#160;(NRF_PPI -&gt; CH2_EEP)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gazell PPI event endpoint 2. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1afe0c0dce6ca5ef2b0c4b75e18539bc"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_PPI_TEP2" ref="ga1afe0c0dce6ca5ef2b0c4b75e18539bc" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga1afe0c0dce6ca5ef2b0c4b75e18539bc">NRF_GZLL_PPI_TEP2</a>&#160;&#160;&#160;(NRF_PPI -&gt; CH2_TEP)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gazell PPI task endpoint 2. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6d0c1395a2205945a415d46ef85aa361"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_PPI_CHEN_MSK_0_AND_1" ref="ga6d0c1395a2205945a415d46ef85aa361" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga6d0c1395a2205945a415d46ef85aa361">NRF_GZLL_PPI_CHEN_MSK_0_AND_1</a>&#160;&#160;&#160;(0x03)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel enable/disable mask for PPI endpoint 0 and 1. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6a442cc27c38c4c51fbef6b71b509056"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_PPI_CHEN_MSK_2" ref="ga6a442cc27c38c4c51fbef6b71b509056" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga6a442cc27c38c4c51fbef6b71b509056">NRF_GZLL_PPI_CHEN_MSK_2</a>&#160;&#160;&#160;(0x04)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Channel enable/disable mask for PPI endpoint 2. <br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Constant pipe and FIFO configuration</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga38b20fc702e6051d421e56252fc0a61a"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_CONST_PIPE_COUNT" ref="ga38b20fc702e6051d421e56252fc0a61a" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga38b20fc702e6051d421e56252fc0a61a">NRF_GZLL_CONST_PIPE_COUNT</a>&#160;&#160;&#160;8</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of TX pipes (at least one for each Device-Host pairs). <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga38b20fc702e6051d421e56252fc0a61a"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_CONST_PIPE_COUNT" ref="ga38b20fc702e6051d421e56252fc0a61a" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga38b20fc702e6051d421e56252fc0a61a">NRF_GZLL_CONST_PIPE_COUNT</a>&#160;&#160;&#160;8</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of TX pipes (at least one for each Device-Host pairs). <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga57d94547c7cd042c89fcf66cc96631d3"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_CONST_FIFO_LENGTH" ref="ga57d94547c7cd042c89fcf66cc96631d3" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga57d94547c7cd042c89fcf66cc96631d3">NRF_GZLL_CONST_FIFO_LENGTH</a>&#160;&#160;&#160;3</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum number of packets allowed in a TX or RX FIFO. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga57d94547c7cd042c89fcf66cc96631d3"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_CONST_FIFO_LENGTH" ref="ga57d94547c7cd042c89fcf66cc96631d3" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga57d94547c7cd042c89fcf66cc96631d3">NRF_GZLL_CONST_FIFO_LENGTH</a>&#160;&#160;&#160;3</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum number of packets allowed in a TX or RX FIFO. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga49e215c332c8f1f254e6cda7da69bf60"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_CONST_MAX_TOTAL_PACKETS" ref="ga49e215c332c8f1f254e6cda7da69bf60" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga49e215c332c8f1f254e6cda7da69bf60">NRF_GZLL_CONST_MAX_TOTAL_PACKETS</a>&#160;&#160;&#160;6</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum number of packets available for reservation at any one time. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga49e215c332c8f1f254e6cda7da69bf60"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_CONST_MAX_TOTAL_PACKETS" ref="ga49e215c332c8f1f254e6cda7da69bf60" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga49e215c332c8f1f254e6cda7da69bf60">NRF_GZLL_CONST_MAX_TOTAL_PACKETS</a>&#160;&#160;&#160;6</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum number of packets available for reservation at any one time. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8b684b647780717d25ff16f1a42e166f"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_CONST_MAX_PAYLOAD_LENGTH" ref="ga8b684b647780717d25ff16f1a42e166f" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga8b684b647780717d25ff16f1a42e166f">NRF_GZLL_CONST_MAX_PAYLOAD_LENGTH</a>&#160;&#160;&#160;32</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum allowed payload length in bytes. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8b684b647780717d25ff16f1a42e166f"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_CONST_MAX_PAYLOAD_LENGTH" ref="ga8b684b647780717d25ff16f1a42e166f" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga8b684b647780717d25ff16f1a42e166f">NRF_GZLL_CONST_MAX_PAYLOAD_LENGTH</a>&#160;&#160;&#160;32</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum allowed payload length in bytes. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8c13e35bcfb97bb1683bd2251f7b5487"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_CONST_CALLBACK_QUEUE_LENGTH" ref="ga8c13e35bcfb97bb1683bd2251f7b5487" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga8c13e35bcfb97bb1683bd2251f7b5487">NRF_GZLL_CONST_CALLBACK_QUEUE_LENGTH</a>&#160;&#160;&#160;10</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum number of notifications allowed in the callback queue. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8c13e35bcfb97bb1683bd2251f7b5487"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_CONST_CALLBACK_QUEUE_LENGTH" ref="ga8c13e35bcfb97bb1683bd2251f7b5487" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga8c13e35bcfb97bb1683bd2251f7b5487">NRF_GZLL_CONST_CALLBACK_QUEUE_LENGTH</a>&#160;&#160;&#160;10</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum number of notifications allowed in the callback queue. <br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Default radio configuration</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8be12e26c93ee706e89b0ec2a491c6ab"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_TX_POWER" ref="ga8be12e26c93ee706e89b0ec2a491c6ab" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga8be12e26c93ee706e89b0ec2a491c6ab">NRF_GZLL_DEFAULT_TX_POWER</a>&#160;&#160;&#160;NRF_GZLL_TX_POWER_0_DBM</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default TX power. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga73569e58d32458273380868f47471abe"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_DATARATE" ref="ga73569e58d32458273380868f47471abe" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga73569e58d32458273380868f47471abe">NRF_GZLL_DEFAULT_DATARATE</a>&#160;&#160;&#160;NRF_GZLL_DATARATE_2MBIT</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default data rate. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga5e82eaadfb711b103901f806ceafb7d0"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_CHANNEL_TABLE" ref="ga5e82eaadfb711b103901f806ceafb7d0" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga5e82eaadfb711b103901f806ceafb7d0">NRF_GZLL_DEFAULT_CHANNEL_TABLE</a>&#160;&#160;&#160;{4, 25, 42, 63, 77}</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default channel table. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaac48c6b42145867519f8cfc087dc09d8"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_CHANNEL_TABLE_SIZE" ref="gaac48c6b42145867519f8cfc087dc09d8" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaac48c6b42145867519f8cfc087dc09d8">NRF_GZLL_DEFAULT_CHANNEL_TABLE_SIZE</a>&#160;&#160;&#160;5</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default channel table size. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga74ffdf73d8821b39bbed98ca5eeba0fd"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_CONST_MAX_CHANNEL_TABLE_SIZE" ref="ga74ffdf73d8821b39bbed98ca5eeba0fd" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga74ffdf73d8821b39bbed98ca5eeba0fd">NRF_GZLL_CONST_MAX_CHANNEL_TABLE_SIZE</a>&#160;&#160;&#160;16</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum channel table size allowed by Gazell. <br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Default Address configuration</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga39150878577f2854fadcc0ff5f9f43f6"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_FULL_ADDRESS_PIPE0" ref="ga39150878577f2854fadcc0ff5f9f43f6" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga39150878577f2854fadcc0ff5f9f43f6">NRF_GZLL_DEFAULT_FULL_ADDRESS_PIPE0</a>&#160;&#160;&#160;{0x01, 0x04, 0x07, 0x0A, 0x0D}</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Corresponding legacy Gazell pipe 0 address. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gad1a22ed83d9713817fdbe5d23b7a568a"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_BASE_ADDRESS_0" ref="gad1a22ed83d9713817fdbe5d23b7a568a" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gad1a22ed83d9713817fdbe5d23b7a568a">NRF_GZLL_DEFAULT_BASE_ADDRESS_0</a>&#160;&#160;&#160;0x0D0A0704</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default base address 0. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gafa455af3cd49cca464678043cc3f8d9d"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_BASE_ADDRESS_1" ref="gafa455af3cd49cca464678043cc3f8d9d" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gafa455af3cd49cca464678043cc3f8d9d">NRF_GZLL_DEFAULT_BASE_ADDRESS_1</a>&#160;&#160;&#160;0x0E0B0805</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default base address 1. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae9ba69ac6837e3328e7cb2750b4a519b"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_PREFIX_BYTE_0" ref="gae9ba69ac6837e3328e7cb2750b4a519b" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gae9ba69ac6837e3328e7cb2750b4a519b">NRF_GZLL_DEFAULT_PREFIX_BYTE_0</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default prefix address pipe 0. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaee2b3b60374d3d2e61d165a933020b9a"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_PREFIX_BYTE_1" ref="gaee2b3b60374d3d2e61d165a933020b9a" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaee2b3b60374d3d2e61d165a933020b9a">NRF_GZLL_DEFAULT_PREFIX_BYTE_1</a>&#160;&#160;&#160;2</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default prefix address pipe 1. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9042e59d5d9d0064be17be10b8581da6"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_PREFIX_BYTE_2" ref="ga9042e59d5d9d0064be17be10b8581da6" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga9042e59d5d9d0064be17be10b8581da6">NRF_GZLL_DEFAULT_PREFIX_BYTE_2</a>&#160;&#160;&#160;3</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default prefix address pipe 2. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8bae0f3242248ec915e3e00220974e4f"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_PREFIX_BYTE_3" ref="ga8bae0f3242248ec915e3e00220974e4f" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga8bae0f3242248ec915e3e00220974e4f">NRF_GZLL_DEFAULT_PREFIX_BYTE_3</a>&#160;&#160;&#160;4</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default prefix address pipe 3. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae031d9027bff89a24130acaf47d80142"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_PREFIX_BYTE_4" ref="gae031d9027bff89a24130acaf47d80142" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gae031d9027bff89a24130acaf47d80142">NRF_GZLL_DEFAULT_PREFIX_BYTE_4</a>&#160;&#160;&#160;5</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default prefix address pipe 4. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae76c4e39c649f9b320805c8c70d28dbc"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_PREFIX_BYTE_5" ref="gae76c4e39c649f9b320805c8c70d28dbc" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gae76c4e39c649f9b320805c8c70d28dbc">NRF_GZLL_DEFAULT_PREFIX_BYTE_5</a>&#160;&#160;&#160;6</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default prefix address pipe 5. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf490dcf54c351119f731e750c982cb41"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_PREFIX_BYTE_6" ref="gaf490dcf54c351119f731e750c982cb41" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaf490dcf54c351119f731e750c982cb41">NRF_GZLL_DEFAULT_PREFIX_BYTE_6</a>&#160;&#160;&#160;7</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default prefix address pipe 6. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6ae3d73159893d15e9db44051590cf2a"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_PREFIX_BYTE_7" ref="ga6ae3d73159893d15e9db44051590cf2a" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga6ae3d73159893d15e9db44051590cf2a">NRF_GZLL_DEFAULT_PREFIX_BYTE_7</a>&#160;&#160;&#160;8</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default prefix address pipe 7. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac728b65c9aa64d48da2610263bad03bc"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_BASE_ADDRESS_LENGTH" ref="gac728b65c9aa64d48da2610263bad03bc" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gac728b65c9aa64d48da2610263bad03bc">NRF_GZLL_DEFAULT_BASE_ADDRESS_LENGTH</a>&#160;&#160;&#160;NRF_GZLL_BASE_ADDRESS_LENGTH_4B</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default on-air base address length. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga07b7b222d7201cfca2d580790fd314f9"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_RX_PIPES_ENABLED" ref="ga07b7b222d7201cfca2d580790fd314f9" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga07b7b222d7201cfca2d580790fd314f9">NRF_GZLL_DEFAULT_RX_PIPES_ENABLED</a>&#160;&#160;&#160;0x000000FF</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enabled Rx pipes. See <a class="el" href="group__gzll__02__api.html#ga7c41a4d1c773221ad106ebc67832da77" title="Set which pipes shall listen for packets in Host mode.">nrf_gzll_set_rx_pipes_enabled()</a>. <br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Default timeslot and synchronization configuration</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga79a68cf307201131f99456a0821b37a2"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_TIMESLOT_PERIOD" ref="ga79a68cf307201131f99456a0821b37a2" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga79a68cf307201131f99456a0821b37a2">NRF_GZLL_DEFAULT_TIMESLOT_PERIOD</a>&#160;&#160;&#160;600</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default timeslot period. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga73385ab3a163dbc639d0e0c163ababc9"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_TIMESLOTS_PER_CHANNEL" ref="ga73385ab3a163dbc639d0e0c163ababc9" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga73385ab3a163dbc639d0e0c163ababc9">NRF_GZLL_DEFAULT_TIMESLOTS_PER_CHANNEL</a>&#160;&#160;&#160;2</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Timeslots use by the Host and by the Device when communication is in sync. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac09ac5e904d5f990256ed16d50755b83"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_TIMESLOTS_PER_CHANNEL_WHEN_DEVICE_OUT_OF_SYNC" ref="gac09ac5e904d5f990256ed16d50755b83" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gac09ac5e904d5f990256ed16d50755b83">NRF_GZLL_DEFAULT_TIMESLOTS_PER_CHANNEL_WHEN_DEVICE_OUT_OF_SYNC</a>&#160;&#160;&#160;15</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Timeslots use by the Device before communication is in sync. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaabb21b3539262b9f936cd310d8b9626d"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_SYNC_LIFETIME" ref="gaabb21b3539262b9f936cd310d8b9626d" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaabb21b3539262b9f936cd310d8b9626d">NRF_GZLL_DEFAULT_SYNC_LIFETIME</a>&#160;&#160;&#160;10</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of timeslots to keep the timer running so that communication remains synchronized. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga2b30a97fc9c4ccaadb8868e2b09646b0"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_DEVICE_CHANNEL_SELECTION_POLICY" ref="ga2b30a97fc9c4ccaadb8868e2b09646b0" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga2b30a97fc9c4ccaadb8868e2b09646b0">NRF_GZLL_DEFAULT_DEVICE_CHANNEL_SELECTION_POLICY</a>&#160;&#160;&#160;NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_SUCCESSFUL</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default channel Gazell Device channel selection policy. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaaeeec1f8461b250ba1cbec079a5fb747"></a><!-- doxytag: member="gzll_02_api::NRF_GZLL_DEFAULT_MAX_TX_ATTEMPTS" ref="gaaeeec1f8461b250ba1cbec079a5fb747" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaaeeec1f8461b250ba1cbec079a5fb747">NRF_GZLL_DEFAULT_MAX_TX_ATTEMPTS</a>&#160;&#160;&#160;0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default maximum TX attempts for each packet. A value of zero implies maximum. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<p>Gazell Link Layer Application Programming Interface (API). </p>
<hr/><h2>Enumeration Type Documentation</h2>
<a class="anchor" id="ga2321f5573e2cd70651559e6380433eda"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_mode_t" ref="ga2321f5573e2cd70651559e6380433eda" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__gzll__02__api.html#ga2321f5573e2cd70651559e6380433eda">nrf_gzll_mode_t</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enumerator used for selecting Gazell mode. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="gga2321f5573e2cd70651559e6380433edaaf43e2f82283221e9ecacaca178934e47"></a><!-- doxytag: member="NRF_GZLL_MODE_DEVICE" ref="gga2321f5573e2cd70651559e6380433edaaf43e2f82283221e9ecacaca178934e47" args="" -->NRF_GZLL_MODE_DEVICE</em>&nbsp;</td><td>
<p>Device mode. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga2321f5573e2cd70651559e6380433edaa9f1389775c6d9e971b3bf299e2d8f4bd"></a><!-- doxytag: member="NRF_GZLL_MODE_HOST" ref="gga2321f5573e2cd70651559e6380433edaa9f1389775c6d9e971b3bf299e2d8f4bd" args="" -->NRF_GZLL_MODE_HOST</em>&nbsp;</td><td>
<p>Host mode. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="nrf__gzll_8h_source.html#l00040">40</a> of file <a class="el" href="nrf__gzll_8h_source.html">nrf_gzll.h</a>.</p>
<div class="fragment"><pre class="fragment">{
  <a class="code" href="group__gzll__02__api.html#gga2321f5573e2cd70651559e6380433edaaf43e2f82283221e9ecacaca178934e47" title="Device mode.">NRF_GZLL_MODE_DEVICE</a>,       
  <a class="code" href="group__gzll__02__api.html#gga2321f5573e2cd70651559e6380433edaa9f1389775c6d9e971b3bf299e2d8f4bd" title="Host mode.">NRF_GZLL_MODE_HOST</a>,         
} <a class="code" href="group__gzll__02__api.html#ga2321f5573e2cd70651559e6380433eda" title="Enumerator used for selecting Gazell mode.">nrf_gzll_mode_t</a>;
</pre></div>
</div>
</div>
<a class="anchor" id="gad45683bddfd8a170f89280b722f7744c"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_device_channel_selection_policy_t" ref="gad45683bddfd8a170f89280b722f7744c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__gzll__02__api.html#gad45683bddfd8a170f89280b722f7744c">nrf_gzll_device_channel_selection_policy_t</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enumerator used for selecting Gazell Device channel selection policy. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="ggad45683bddfd8a170f89280b722f7744ca7ac745d687a1dc56962bed8a98ba719f"></a><!-- doxytag: member="NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_SUCCESSFUL" ref="ggad45683bddfd8a170f89280b722f7744ca7ac745d687a1dc56962bed8a98ba719f" args="" -->NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_SUCCESSFUL</em>&nbsp;</td><td>
<p>Start on previous successful channel. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggad45683bddfd8a170f89280b722f7744ca97b439d85d2666cb9676c45f0db57a55"></a><!-- doxytag: member="NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_CURRENT" ref="ggad45683bddfd8a170f89280b722f7744ca97b439d85d2666cb9676c45f0db57a55" args="" -->NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_CURRENT</em>&nbsp;</td><td>
<p>Start on channel currently monitored by Host. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="nrf__gzll_8h_source.html#l00052">52</a> of file <a class="el" href="nrf__gzll_8h_source.html">nrf_gzll.h</a>.</p>
<div class="fragment"><pre class="fragment">{
  <a class="code" href="group__gzll__02__api.html#ggad45683bddfd8a170f89280b722f7744ca7ac745d687a1dc56962bed8a98ba719f" title="Start on previous successful channel.">NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_SUCCESSFUL</a>, 
  <a class="code" href="group__gzll__02__api.html#ggad45683bddfd8a170f89280b722f7744ca97b439d85d2666cb9676c45f0db57a55" title="Start on channel currently monitored by Host.">NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_CURRENT</a>,    
} <a class="code" href="group__gzll__02__api.html#gad45683bddfd8a170f89280b722f7744c" title="Enumerator used for selecting Gazell Device channel selection policy.">nrf_gzll_device_channel_selection_policy_t</a>;
</pre></div>
</div>
</div>
<a class="anchor" id="ga838445eeb3dabb47b746708bf4cf851d"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_tx_power_t" ref="ga838445eeb3dabb47b746708bf4cf851d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__gzll__02__api.html#ga838445eeb3dabb47b746708bf4cf851d">nrf_gzll_tx_power_t</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enumerator used for selecting the transmit (TX) power. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="gga838445eeb3dabb47b746708bf4cf851da3eab1d41cecc3cc7ba907c4ac7f27699"></a><!-- doxytag: member="NRF_GZLL_TX_POWER_4_DBM" ref="gga838445eeb3dabb47b746708bf4cf851da3eab1d41cecc3cc7ba907c4ac7f27699" args="" -->NRF_GZLL_TX_POWER_4_DBM</em>&nbsp;</td><td>
<p>4 dBm transmit power. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga838445eeb3dabb47b746708bf4cf851da6925d58d3c9fa86f79d475976818c318"></a><!-- doxytag: member="NRF_GZLL_TX_POWER_0_DBM" ref="gga838445eeb3dabb47b746708bf4cf851da6925d58d3c9fa86f79d475976818c318" args="" -->NRF_GZLL_TX_POWER_0_DBM</em>&nbsp;</td><td>
<p>0 dBm transmit power. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga838445eeb3dabb47b746708bf4cf851dafef1f0ca63fb9be78fe017c65a914eb4"></a><!-- doxytag: member="NRF_GZLL_TX_POWER_N4_DBM" ref="gga838445eeb3dabb47b746708bf4cf851dafef1f0ca63fb9be78fe017c65a914eb4" args="" -->NRF_GZLL_TX_POWER_N4_DBM</em>&nbsp;</td><td>
<p>-4 dBm transmit power. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga838445eeb3dabb47b746708bf4cf851da0e59e0dac9763f57f4ed7080750c09f8"></a><!-- doxytag: member="NRF_GZLL_TX_POWER_N8_DBM" ref="gga838445eeb3dabb47b746708bf4cf851da0e59e0dac9763f57f4ed7080750c09f8" args="" -->NRF_GZLL_TX_POWER_N8_DBM</em>&nbsp;</td><td>
<p>-8 dBm transmit power. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga838445eeb3dabb47b746708bf4cf851da9f9f798b37a40421751e81f3b6f8823c"></a><!-- doxytag: member="NRF_GZLL_TX_POWER_N12_DBM" ref="gga838445eeb3dabb47b746708bf4cf851da9f9f798b37a40421751e81f3b6f8823c" args="" -->NRF_GZLL_TX_POWER_N12_DBM</em>&nbsp;</td><td>
<p>-12 dBm transmit power. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga838445eeb3dabb47b746708bf4cf851da9e5d236d4715d34ee730727b5babb149"></a><!-- doxytag: member="NRF_GZLL_TX_POWER_N16_DBM" ref="gga838445eeb3dabb47b746708bf4cf851da9e5d236d4715d34ee730727b5babb149" args="" -->NRF_GZLL_TX_POWER_N16_DBM</em>&nbsp;</td><td>
<p>-16 dBm transmit power. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="gga838445eeb3dabb47b746708bf4cf851da35ef035819220255bfc7f87f4eafd797"></a><!-- doxytag: member="NRF_GZLL_TX_POWER_N20_DBM" ref="gga838445eeb3dabb47b746708bf4cf851da35ef035819220255bfc7f87f4eafd797" args="" -->NRF_GZLL_TX_POWER_N20_DBM</em>&nbsp;</td><td>
<p>-20 dBm transmit power. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="nrf__gzll_8h_source.html#l00063">63</a> of file <a class="el" href="nrf__gzll_8h_source.html">nrf_gzll.h</a>.</p>
<div class="fragment"><pre class="fragment">{
  <a class="code" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da3eab1d41cecc3cc7ba907c4ac7f27699" title="4 dBm transmit power.">NRF_GZLL_TX_POWER_4_DBM</a>,          
  <a class="code" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da6925d58d3c9fa86f79d475976818c318" title="0 dBm transmit power.">NRF_GZLL_TX_POWER_0_DBM</a>,          
  <a class="code" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851dafef1f0ca63fb9be78fe017c65a914eb4">NRF_GZLL_TX_POWER_N4_DBM</a>,         
  <a class="code" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da0e59e0dac9763f57f4ed7080750c09f8">NRF_GZLL_TX_POWER_N8_DBM</a>,         
  <a class="code" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da9f9f798b37a40421751e81f3b6f8823c">NRF_GZLL_TX_POWER_N12_DBM</a>,        
  <a class="code" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da9e5d236d4715d34ee730727b5babb149">NRF_GZLL_TX_POWER_N16_DBM</a>,        
  <a class="code" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da35ef035819220255bfc7f87f4eafd797">NRF_GZLL_TX_POWER_N20_DBM</a>         
} <a class="code" href="group__gzll__02__api.html#ga838445eeb3dabb47b746708bf4cf851d" title="Enumerator used for selecting the transmit (TX) power.">nrf_gzll_tx_power_t</a>;
</pre></div>
</div>
</div>
<a class="anchor" id="gabb5224046a930344cc3f5586bf9b064a"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_datarate_t" ref="gabb5224046a930344cc3f5586bf9b064a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__gzll__02__api.html#gabb5224046a930344cc3f5586bf9b064a">nrf_gzll_datarate_t</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enumerator used for selecting the radio datarate. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="ggabb5224046a930344cc3f5586bf9b064aab5c82f8676fea3d65782748a7be344f5"></a><!-- doxytag: member="NRF_GZLL_DATARATE_250KBIT" ref="ggabb5224046a930344cc3f5586bf9b064aab5c82f8676fea3d65782748a7be344f5" args="" -->NRF_GZLL_DATARATE_250KBIT</em>&nbsp;</td><td>
<p>250 Kbps datarate. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggabb5224046a930344cc3f5586bf9b064aa246aa294dc264af2beeadae662e0aa24"></a><!-- doxytag: member="NRF_GZLL_DATARATE_1MBIT" ref="ggabb5224046a930344cc3f5586bf9b064aa246aa294dc264af2beeadae662e0aa24" args="" -->NRF_GZLL_DATARATE_1MBIT</em>&nbsp;</td><td>
<p>1 Mbps datarate. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggabb5224046a930344cc3f5586bf9b064aa34b5649392e2948bbb7f284927781883"></a><!-- doxytag: member="NRF_GZLL_DATARATE_2MBIT" ref="ggabb5224046a930344cc3f5586bf9b064aa34b5649392e2948bbb7f284927781883" args="" -->NRF_GZLL_DATARATE_2MBIT</em>&nbsp;</td><td>
<p>2 Mbps datarate. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="nrf__gzll_8h_source.html#l00079">79</a> of file <a class="el" href="nrf__gzll_8h_source.html">nrf_gzll.h</a>.</p>
<div class="fragment"><pre class="fragment">{
  <a class="code" href="group__gzll__02__api.html#ggabb5224046a930344cc3f5586bf9b064aab5c82f8676fea3d65782748a7be344f5" title="250 Kbps datarate.">NRF_GZLL_DATARATE_250KBIT</a>,    
  <a class="code" href="group__gzll__02__api.html#ggabb5224046a930344cc3f5586bf9b064aa246aa294dc264af2beeadae662e0aa24" title="1 Mbps datarate.">NRF_GZLL_DATARATE_1MBIT</a>,      
  <a class="code" href="group__gzll__02__api.html#ggabb5224046a930344cc3f5586bf9b064aa34b5649392e2948bbb7f284927781883" title="2 Mbps datarate.">NRF_GZLL_DATARATE_2MBIT</a>       
} <a class="code" href="group__gzll__02__api.html#gabb5224046a930344cc3f5586bf9b064a" title="Enumerator used for selecting the radio datarate.">nrf_gzll_datarate_t</a>;
</pre></div>
</div>
</div>
<a class="anchor" id="gaa51ebe606da1801bb1ce72b2257356ab"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_error_code_t" ref="gaa51ebe606da1801bb1ce72b2257356ab" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__gzll__02__api.html#gaa51ebe606da1801bb1ce72b2257356ab">nrf_gzll_error_code_t</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enumerator used for error codes for Gazell API functions. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="ggaa51ebe606da1801bb1ce72b2257356abace4bbba0d262295c16f3156ae0c9907b"></a><!-- doxytag: member="NRF_GZLL_ERROR_CODE_NO_ERROR" ref="ggaa51ebe606da1801bb1ce72b2257356abace4bbba0d262295c16f3156ae0c9907b" args="" -->NRF_GZLL_ERROR_CODE_NO_ERROR</em>&nbsp;</td><td>
<p>No error has been detected. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggaa51ebe606da1801bb1ce72b2257356aba30549d446599d7530e14ea19b5ce99e2"></a><!-- doxytag: member="NRF_GZLL_ERROR_CODE_FAILED_TO_INITIALIZE" ref="ggaa51ebe606da1801bb1ce72b2257356aba30549d446599d7530e14ea19b5ce99e2" args="" -->NRF_GZLL_ERROR_CODE_FAILED_TO_INITIALIZE</em>&nbsp;</td><td>
<p>The function NRF_GZLL_init failed. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggaa51ebe606da1801bb1ce72b2257356aba2b15f5f975ef14b5191e5262ef94f93d"></a><!-- doxytag: member="NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_CONFIGURE_WHEN_ENABLED" ref="ggaa51ebe606da1801bb1ce72b2257356aba2b15f5f975ef14b5191e5262ef94f93d" args="" -->NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_CONFIGURE_WHEN_ENABLED</em>&nbsp;</td><td>
<p>A call to a configuration 'set' function was made while Gazell was enabled. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggaa51ebe606da1801bb1ce72b2257356abaded91da689711dd5a654cf81fc18d835"></a><!-- doxytag: member="NRF_GZLL_ERROR_CODE_POINTER_IS_NULL" ref="ggaa51ebe606da1801bb1ce72b2257356abaded91da689711dd5a654cf81fc18d835" args="" -->NRF_GZLL_ERROR_CODE_POINTER_IS_NULL</em>&nbsp;</td><td>
<p>A null pointer was given as an input to a function. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggaa51ebe606da1801bb1ce72b2257356abac4918d5a5f1f69278c4009143b18f1bc"></a><!-- doxytag: member="NRF_GZLL_ERROR_CODE_INVALID_PIPE" ref="ggaa51ebe606da1801bb1ce72b2257356abac4918d5a5f1f69278c4009143b18f1bc" args="" -->NRF_GZLL_ERROR_CODE_INVALID_PIPE</em>&nbsp;</td><td>
<p>An invalid pipe number was given as an input to a function. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggaa51ebe606da1801bb1ce72b2257356aba380b30b67d0ba401d7472ea3974b2af6"></a><!-- doxytag: member="NRF_GZLL_ERROR_CODE_INVALID_MODE" ref="ggaa51ebe606da1801bb1ce72b2257356aba380b30b67d0ba401d7472ea3974b2af6" args="" -->NRF_GZLL_ERROR_CODE_INVALID_MODE</em>&nbsp;</td><td>
<p>An invalid value for the nrf_gzll_mode_t enumerator was given as input to a function. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggaa51ebe606da1801bb1ce72b2257356aba9da1b5f94da0fa0e3c64b52feac8ad77"></a><!-- doxytag: member="NRF_GZLL_ERROR_CODE_INVALID_PAYLOAD_LENGTH" ref="ggaa51ebe606da1801bb1ce72b2257356aba9da1b5f94da0fa0e3c64b52feac8ad77" args="" -->NRF_GZLL_ERROR_CODE_INVALID_PAYLOAD_LENGTH</em>&nbsp;</td><td>
<p>An invalid payload length was given as an input to a function. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggaa51ebe606da1801bb1ce72b2257356abac830d264d08837ad86b5be4167b52463"></a><!-- doxytag: member="NRF_GZLL_ERROR_CODE_INVALID_CHANNEL_TABLE_SIZE" ref="ggaa51ebe606da1801bb1ce72b2257356abac830d264d08837ad86b5be4167b52463" args="" -->NRF_GZLL_ERROR_CODE_INVALID_CHANNEL_TABLE_SIZE</em>&nbsp;</td><td>
<p>An invalid channel table size was given as an input to a function. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggaa51ebe606da1801bb1ce72b2257356aba8d2a830e8e47d991cca27738eafc8606"></a><!-- doxytag: member="NRF_GZLL_ERROR_CODE_INSUFFICIENT_PACKETS_AVAILABLE" ref="ggaa51ebe606da1801bb1ce72b2257356aba8d2a830e8e47d991cca27738eafc8606" args="" -->NRF_GZLL_ERROR_CODE_INSUFFICIENT_PACKETS_AVAILABLE</em>&nbsp;</td><td>
<p>There are insufficient packets in the Gazell memory pool to successfully execute the operation. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggaa51ebe606da1801bb1ce72b2257356abaa3ccbb11bd73955faf2d7355bcb1168f"></a><!-- doxytag: member="NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_ADD_TO_FULL_FIFO" ref="ggaa51ebe606da1801bb1ce72b2257356abaa3ccbb11bd73955faf2d7355bcb1168f" args="" -->NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_ADD_TO_FULL_FIFO</em>&nbsp;</td><td>
<p>There is insufficient space in the TX FIFO for the data packet. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggaa51ebe606da1801bb1ce72b2257356aba49865c493f4c9896945c3fa2a6175895"></a><!-- doxytag: member="NRF_GZLL_ERROR_CODE_NO_SPACE_IN_RX_FIFO_FOR_ACK" ref="ggaa51ebe606da1801bb1ce72b2257356aba49865c493f4c9896945c3fa2a6175895" args="" -->NRF_GZLL_ERROR_CODE_NO_SPACE_IN_RX_FIFO_FOR_ACK</em>&nbsp;</td><td>
<p>There is insufficient space in the RX FIFO for the ACK. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggaa51ebe606da1801bb1ce72b2257356ababc0c04d564d90f4216797e7816e9e68b"></a><!-- doxytag: member="NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_FETCH_FROM_EMPTY_FIFO" ref="ggaa51ebe606da1801bb1ce72b2257356ababc0c04d564d90f4216797e7816e9e68b" args="" -->NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_FETCH_FROM_EMPTY_FIFO</em>&nbsp;</td><td>
<p>Attempted to fetch a packet from an empty FIFO. Use the functions <a class="el" href="group__gzll__02__api.html#gaad1e741b39d5eea07f64538d38848071" title="Get the number of packets in the TX FIFO on a specific pipe.">nrf_gzll_get_tx_fifo_packet_count()</a> or <a class="el" href="group__gzll__02__api.html#gade39485ec6ab77188c1798c76e564c28" title="Get the number of packets in the RX FIFO on a specific pipe.">nrf_gzll_get_rx_fifo_packet_count()</a> </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggaa51ebe606da1801bb1ce72b2257356abacffaff5d6b7b811215ddafc76ee9ea84"></a><!-- doxytag: member="NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_FLUSH_WHEN_ENABLED" ref="ggaa51ebe606da1801bb1ce72b2257356abacffaff5d6b7b811215ddafc76ee9ea84" args="" -->NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_FLUSH_WHEN_ENABLED</em>&nbsp;</td><td>
<p>Attempted to fetch a packet from an empty FIFO. Use the functions <a class="el" href="group__gzll__02__api.html#gaad1e741b39d5eea07f64538d38848071" title="Get the number of packets in the TX FIFO on a specific pipe.">nrf_gzll_get_tx_fifo_packet_count()</a> or <a class="el" href="group__gzll__02__api.html#gade39485ec6ab77188c1798c76e564c28" title="Get the number of packets in the RX FIFO on a specific pipe.">nrf_gzll_get_rx_fifo_packet_count()</a> </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggaa51ebe606da1801bb1ce72b2257356abaf3b942aca16291c78ebc00b7d80cbbf4"></a><!-- doxytag: member="NRF_GZLL_ERROR_CODE_INVALID_PARAMETER" ref="ggaa51ebe606da1801bb1ce72b2257356abaf3b942aca16291c78ebc00b7d80cbbf4" args="" -->NRF_GZLL_ERROR_CODE_INVALID_PARAMETER</em>&nbsp;</td><td>
<p>Attempted to set a variable which was not valid. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggaa51ebe606da1801bb1ce72b2257356aba0653cf03943e6223a42945e8db7d9870"></a><!-- doxytag: member="NRF_GZLL_ERROR_CODE_INTERNAL_ASSERT_OCCURRED" ref="ggaa51ebe606da1801bb1ce72b2257356aba0653cf03943e6223a42945e8db7d9870" args="" -->NRF_GZLL_ERROR_CODE_INTERNAL_ASSERT_OCCURRED</em>&nbsp;</td><td>
<p>An internal assert occurred. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggaa51ebe606da1801bb1ce72b2257356aba2b0ac52c845b024691fa0a3b483651fb"></a><!-- doxytag: member="NRF_GZLL_ERROR_CODE_CALLBACK_NOT_IMPLEMENTED" ref="ggaa51ebe606da1801bb1ce72b2257356aba2b0ac52c845b024691fa0a3b483651fb" args="" -->NRF_GZLL_ERROR_CODE_CALLBACK_NOT_IMPLEMENTED</em>&nbsp;</td><td>
<p>A callback was called but not implemented by the application. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ggaa51ebe606da1801bb1ce72b2257356abad28c8f662a56566e788968242195ae43"></a><!-- doxytag: member="NRF_GZLL_ERROR_CODE_NUMBER_OF_ERROR_CODES" ref="ggaa51ebe606da1801bb1ce72b2257356abad28c8f662a56566e788968242195ae43" args="" -->NRF_GZLL_ERROR_CODE_NUMBER_OF_ERROR_CODES</em>&nbsp;</td><td>
<p>Number of possible error codes. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="nrf__gzll_8h_source.html#l00091">91</a> of file <a class="el" href="nrf__gzll_8h_source.html">nrf_gzll.h</a>.</p>
<div class="fragment"><pre class="fragment">{
  <a class="code" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abace4bbba0d262295c16f3156ae0c9907b" title="No error has been detected.">NRF_GZLL_ERROR_CODE_NO_ERROR</a>                            =  0,
  <a class="code" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba30549d446599d7530e14ea19b5ce99e2" title="The function NRF_GZLL_init failed.">NRF_GZLL_ERROR_CODE_FAILED_TO_INITIALIZE</a>                =  1,
  <a class="code" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba2b15f5f975ef14b5191e5262ef94f93d">NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_CONFIGURE_WHEN_ENABLED</a> =  2,
  <a class="code" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abaded91da689711dd5a654cf81fc18d835" title="A null pointer was given as an input to a function.">NRF_GZLL_ERROR_CODE_POINTER_IS_NULL</a>                     =  3,
  <a class="code" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abac4918d5a5f1f69278c4009143b18f1bc" title="An invalid pipe number was given as an input to a function.">NRF_GZLL_ERROR_CODE_INVALID_PIPE</a>                        =  4,
  <a class="code" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba380b30b67d0ba401d7472ea3974b2af6">NRF_GZLL_ERROR_CODE_INVALID_MODE</a>                        =  5,
  <a class="code" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba9da1b5f94da0fa0e3c64b52feac8ad77" title="An invalid payload length was given as an input to a function.">NRF_GZLL_ERROR_CODE_INVALID_PAYLOAD_LENGTH</a>              =  6,
  <a class="code" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abac830d264d08837ad86b5be4167b52463" title="An invalid channel table size was given as an input to a function.">NRF_GZLL_ERROR_CODE_INVALID_CHANNEL_TABLE_SIZE</a>          =  7,
  <a class="code" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba8d2a830e8e47d991cca27738eafc8606">NRF_GZLL_ERROR_CODE_INSUFFICIENT_PACKETS_AVAILABLE</a>      =  8,
  <a class="code" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abaa3ccbb11bd73955faf2d7355bcb1168f" title="There is insufficient space in the TX FIFO for the data packet.">NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_ADD_TO_FULL_FIFO</a>     =  9,
  <a class="code" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba49865c493f4c9896945c3fa2a6175895" title="There is insufficient space in the RX FIFO for the ACK.">NRF_GZLL_ERROR_CODE_NO_SPACE_IN_RX_FIFO_FOR_ACK</a>        = 10,
  <a class="code" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356ababc0c04d564d90f4216797e7816e9e68b" title="Attempted to fetch a packet from an empty FIFO. Use the functions nrf_gzll_get_tx_fifo_packet_count()...">NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_FETCH_FROM_EMPTY_FIFO</a>  = 11,
  <a class="code" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abacffaff5d6b7b811215ddafc76ee9ea84" title="Attempted to fetch a packet from an empty FIFO. Use the functions nrf_gzll_get_tx_fifo_packet_count()...">NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_FLUSH_WHEN_ENABLED</a>    = 12,
  <a class="code" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abaf3b942aca16291c78ebc00b7d80cbbf4" title="Attempted to set a variable which was not valid.">NRF_GZLL_ERROR_CODE_INVALID_PARAMETER</a>                   = 14,
  <a class="code" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba0653cf03943e6223a42945e8db7d9870" title="An internal assert occurred.">NRF_GZLL_ERROR_CODE_INTERNAL_ASSERT_OCCURRED</a>            = 15,
  <a class="code" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba2b0ac52c845b024691fa0a3b483651fb" title="A callback was called but not implemented by the application.">NRF_GZLL_ERROR_CODE_CALLBACK_NOT_IMPLEMENTED</a>            = 16,
  <a class="code" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abad28c8f662a56566e788968242195ae43" title="Number of possible error codes.">NRF_GZLL_ERROR_CODE_NUMBER_OF_ERROR_CODES</a>               = 17,
} <a class="code" href="group__gzll__02__api.html#gaa51ebe606da1801bb1ce72b2257356ab" title="Enumerator used for error codes for Gazell API functions.">nrf_gzll_error_code_t</a>;
</pre></div>
</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="gacba07d9c893b4673c563ced97cccba94"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_init" ref="gacba07d9c893b4673c563ced97cccba94" args="(nrf_gzll_mode_t mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gzll__02__api.html#ga2321f5573e2cd70651559e6380433eda">nrf_gzll_mode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initialize Gazell. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mode</td><td>The mode to initialize Gazell in.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>if Gazell initialized. </td></tr>
    <tr><td class="paramname">false</td><td>if Gazell failed to initialize. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gadfb1003b245b019481334e6d087f928e"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_enable" ref="gadfb1003b245b019481334e6d087f928e" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_enable </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enable Gazell. </p>
<p>When enabled the behaviour described for the current Gazell Link Layer mode will apply.</p>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">false</td><td>if nrf_gzll_init has not previously been called. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga20e0e3ca35dda6b9220b1ddce7565687"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_disable" ref="ga20e0e3ca35dda6b9220b1ddce7565687" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void nrf_gzll_disable </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Disable Gazell. </p>
<p>When calling this function the Gazell Link Layer will begin disabling, and will be fully disabled when Gazell calls <a class="el" href="group__gzll__02__api.html#ga722e2ee917072fca60a50a23d8c84414" title="Disabled callback.">nrf_gzll_disabled()</a>. However, if there are any pending notifications to be sent to the application these will still be sent. </p>

</div>
</div>
<a class="anchor" id="gab292792f57b5b3d663c141ca3bb08f2f"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_is_enabled" ref="gab292792f57b5b3d663c141ca3bb08f2f" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_is_enabled </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Check whether Gazell is enabled or disabled.</p>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If Gazell is enabled. </td></tr>
    <tr><td class="paramname">false</td><td>If Gazell is disabled. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gac1306762dc2ccfc5c2bbdbe2d85a93aa"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_device_tx_success" ref="gac1306762dc2ccfc5c2bbdbe2d85a93aa" args="(uint32_t pipe, nrf_gzll_device_tx_info_t tx_info)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void nrf_gzll_device_tx_success </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pipe</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structnrf__gzll__device__tx__info__t.html">nrf_gzll_device_tx_info_t</a>&#160;</td>
          <td class="paramname"><em>tx_info</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>ACK received callback (Device mode only). </p>
<p>This callback is made when the Device receives an ACK (acknowledgement) packet. </p>
<dl class="see"><dt><b>See also:</b></dt><dd>nrf_gzll_ack_payload_received.</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pipe</td><td>is the pipe on which an ACK packet was received. </td></tr>
    <tr><td class="paramname">tx_info</td><td>struct used to indicate whether a payload was received in the ack, as well as the number of TX attempts and channel switches required. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="main__device__ack__payload_8c_source.html#l00120">120</a> of file <a class="el" href="main__device__ack__payload_8c_source.html">main_device_ack_payload.c</a>.</p>
<div class="fragment"><pre class="fragment">{
    uint32_t ack_payload_length = <a class="code" href="group__gzll__02__api.html#ga8b684b647780717d25ff16f1a42e166f" title="Maximum allowed payload length in bytes.">NRF_GZLL_CONST_MAX_PAYLOAD_LENGTH</a>;    
    tx_success = <span class="keyword">true</span>;

    <span class="keywordflow">if</span> (tx_info.<a class="code" href="structnrf__gzll__device__tx__info__t.html#a82d823d6abc51dc89fd4735decec9149" title="A payload was received in the ACK.">payload_received_in_ack</a>)
    {
        <span class="comment">// Pop packet and write first byte of the payload to the GPIO port.</span>
        pop_ok = <a class="code" href="group__gzll__02__api.html#ga419c8ce6a3e08d5dec8b50ef88b3cc2b" title="Fetch a packet from the head of the RX FIFO.">nrf_gzll_fetch_packet_from_rx_fifo</a>(pipe, <a class="code" href="group__gzll__device__ack__payload__example.html#gabeaede42f5ae274be752a8cee2295d47" title="Placeholder for received ACK payloads from Host.">ack_payload</a>, &amp;ack_payload_length);
        <span class="keywordflow">if</span> (ack_payload_length &gt; 0)
        {
            <a class="code" href="group__nrf__gpio.html#gac1d4940bc5ad4aad4f6363c7021b08ae" title="Write GPIO port.">nrf_gpio_port_write</a>(<a class="code" href="group__gzll__device__ack__payload__example.html#ga61686d33603491344883775b9b31e172" title="GPIO port for writing to LEDs.">LEDS</a>, ~<a class="code" href="group__gzll__device__ack__payload__example.html#gabeaede42f5ae274be752a8cee2295d47" title="Placeholder for received ACK payloads from Host.">ack_payload</a>[0]);  <span class="comment">// Button press is active low. </span>
        }
    }
    
    <span class="comment">// Read buttons and load data payload into TX queue</span>
    <a class="code" href="group__gzll__device__ack__payload__example.html#ga1b254eba12826664994a6c1be0279b30" title="Payload to send to Host.">data_payload</a>[0] = <a class="code" href="group__nrf__gpio.html#ga40bee84dc81b9f8981eb2647dac9d267" title="Read GPIO port.">nrf_gpio_port_read</a>(<a class="code" href="group__gzll__device__ack__payload__example.html#ga2a2f690f8bdeeb4003203ff5e3edaffc" title="GPIO port for reading from buttons.">BUTTONS</a>);
    push_ok = <a class="code" href="group__gzll__02__api.html#ga1c0b1d1838e032af28c35d7c3e0603e0" title="Add a packet to the tail of the TX FIFO.">nrf_gzll_add_packet_to_tx_fifo</a>(pipe, <a class="code" href="group__gzll__device__ack__payload__example.html#ga1b254eba12826664994a6c1be0279b30" title="Payload to send to Host.">data_payload</a>, <a class="code" href="group__gzll__device__ack__payload__example.html#gaed1097d348540e6d609ced933dfaa26b" title="We use 1 byte payload length when transmitting.">TX_PAYLOAD_LENGTH</a>);
}
</pre></div>
</div>
</div>
<a class="anchor" id="ga0642fed399ed3ec41406cd4323edf5ad"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_device_tx_failed" ref="ga0642fed399ed3ec41406cd4323edf5ad" args="(uint32_t pipe, nrf_gzll_device_tx_info_t tx_info)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void nrf_gzll_device_tx_failed </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pipe</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structnrf__gzll__device__tx__info__t.html">nrf_gzll_device_tx_info_t</a>&#160;</td>
          <td class="paramname"><em>tx_info</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Transmission failed callback (Device mode only). </p>
<p>This callback is made when a packet does not receive an ACK after nrf_gzll_max_retries is reached. The packet is deleted by Gazell.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pipe</td><td>is the pipe on which the transmission failed. </td></tr>
    <tr><td class="paramname">tx_info</td><td>struct used to indicate whether a payload was received in the ack, as well as RSSI and the number of TX attempts and channel switches required. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="main__device__ack__payload_8c_source.html#l00145">145</a> of file <a class="el" href="main__device__ack__payload_8c_source.html">main_device_ack_payload.c</a>.</p>
<div class="fragment"><pre class="fragment">{
    tx_success = <span class="keyword">false</span>;

    <span class="comment">// Load data into TX queue</span>
    <a class="code" href="group__gzll__device__ack__payload__example.html#ga1b254eba12826664994a6c1be0279b30" title="Payload to send to Host.">data_payload</a>[0] = <a class="code" href="group__nrf__gpio.html#ga40bee84dc81b9f8981eb2647dac9d267" title="Read GPIO port.">nrf_gpio_port_read</a>(<a class="code" href="group__gzll__device__ack__payload__example.html#ga2a2f690f8bdeeb4003203ff5e3edaffc" title="GPIO port for reading from buttons.">BUTTONS</a>);
    push_ok = <a class="code" href="group__gzll__02__api.html#ga1c0b1d1838e032af28c35d7c3e0603e0" title="Add a packet to the tail of the TX FIFO.">nrf_gzll_add_packet_to_tx_fifo</a>(pipe, <a class="code" href="group__gzll__device__ack__payload__example.html#ga1b254eba12826664994a6c1be0279b30" title="Payload to send to Host.">data_payload</a>, <a class="code" href="group__gzll__device__ack__payload__example.html#gaed1097d348540e6d609ced933dfaa26b" title="We use 1 byte payload length when transmitting.">TX_PAYLOAD_LENGTH</a>);
}
</pre></div>
</div>
</div>
<a class="anchor" id="ga116b8ce684c3f6fe8c63c371b913aa3e"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_host_rx_data_ready" ref="ga116b8ce684c3f6fe8c63c371b913aa3e" args="(uint32_t pipe, nrf_gzll_host_rx_info_t rx_info)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void nrf_gzll_host_rx_data_ready </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pipe</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structnrf__gzll__host__rx__info__t.html">nrf_gzll_host_rx_info_t</a>&#160;</td>
          <td class="paramname"><em>rx_info</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Data packet received callback (Host mode only). </p>
<p>This callback is made when a Host receives a data packet from a Device.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pipe</td><td>is the pipe on which the data packet was received. </td></tr>
    <tr><td class="paramname">rx_info</td><td>struct used to indicate whether a payload was removed from the pipe's TX FIFO, as well as RSSI. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="main__device__ack__payload_8c_source.html#l00157">157</a> of file <a class="el" href="main__device__ack__payload_8c_source.html">main_device_ack_payload.c</a>.</p>
<div class="fragment"><pre class="fragment">{}
</pre></div>
</div>
</div>
<a class="anchor" id="ga722e2ee917072fca60a50a23d8c84414"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_disabled" ref="ga722e2ee917072fca60a50a23d8c84414" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void nrf_gzll_disabled </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Disabled callback. </p>
<p>This is called after Gazell enters the disabled state. There is no further CPU use by Gazell, the radio is disabled and the timer is powered down. </p>

<p>Definition at line <a class="el" href="main__device__ack__payload_8c_source.html#l00159">159</a> of file <a class="el" href="main__device__ack__payload_8c_source.html">main_device_ack_payload.c</a>.</p>
<div class="fragment"><pre class="fragment">{}
</pre></div>
</div>
</div>
<a class="anchor" id="ga1c0b1d1838e032af28c35d7c3e0603e0"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_add_packet_to_tx_fifo" ref="ga1c0b1d1838e032af28c35d7c3e0603e0" args="(uint32_t pipe, uint8_t *payload, uint32_t length)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_add_packet_to_tx_fifo </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pipe</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>payload</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add a packet to the tail of the TX FIFO. </p>
<p>In Device mode, the packet will be added. In Host mode, the payload will be piggybacked onto an ACK.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pipe</td><td>Pipe to which to add the payload. This value must be &lt; NRF_GZLL_CONST_PIPE_COUNT. </td></tr>
    <tr><td class="paramname">payload</td><td>Pointer to the payload. </td></tr>
    <tr><td class="paramname">length</td><td>Number of bytes of the payload to transmit (0 to NRF_GZLL_CONST_MAX_PAYLOAD_LENGTH).</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>if the packet was successfully added to the TX FIFO. </td></tr>
    <tr><td class="paramname">false</td><td>if unsuccessful, check nrf_gzll_error_code_t for more information. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga419c8ce6a3e08d5dec8b50ef88b3cc2b"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_fetch_packet_from_rx_fifo" ref="ga419c8ce6a3e08d5dec8b50ef88b3cc2b" args="(uint32_t pipe, uint8_t *payload, uint32_t *length)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_fetch_packet_from_rx_fifo </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pipe</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>payload</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t *&#160;</td>
          <td class="paramname"><em>length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fetch a packet from the head of the RX FIFO. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pipe</td><td>Pipe from which to fetch the payload. This value must be &lt; NRF_GZLL_CONST_PIPE_COUNT. </td></tr>
    <tr><td class="paramname">payload</td><td>Pointer to copy the payload to. </td></tr>
    <tr><td class="paramname">length</td><td>Length must be at least as large as the the number of bytes in the received payload length.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If the fetch was successful. </td></tr>
    <tr><td class="paramname">false</td><td>If unsuccessful, check nrf_gzll_error_code_t for more information. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaad1e741b39d5eea07f64538d38848071"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_tx_fifo_packet_count" ref="gaad1e741b39d5eea07f64538d38848071" args="(uint32_t pipe)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t nrf_gzll_get_tx_fifo_packet_count </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pipe</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the number of packets in the TX FIFO on a specific pipe. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pipe</td><td>The pipe for which to check. This value must be &lt; NRF_GZLL_CONST_PIPE_COUNT.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">&gt;=0</td><td>The number of packets in the TX FIFO for the pipe. </td></tr>
    <tr><td class="paramname">-1</td><td>If the pipe number is invalid. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gade39485ec6ab77188c1798c76e564c28"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_rx_fifo_packet_count" ref="gade39485ec6ab77188c1798c76e564c28" args="(uint32_t pipe)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t nrf_gzll_get_rx_fifo_packet_count </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pipe</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the number of packets in the RX FIFO on a specific pipe. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pipe</td><td>The pipe for which to check. This value must be &lt; NRF_GZLL_CONST_PIPE_COUNT. </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">&gt;=0</td><td>The number of packets in the RX FIFO for the pipe. </td></tr>
    <tr><td class="paramname">-1</td><td>If the pipe number is invalid. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga7243f6f81a93686cfc48623c37695dcc"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_total_allocated_packet_count" ref="ga7243f6f81a93686cfc48623c37695dcc" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t nrf_gzll_get_total_allocated_packet_count </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the total number of packets residing in all TX and RX FIFOs. </p>
<p>Can be used to check against NRF_GZLL_CONST_MAX_TOTAL_PACKETS to determine if there is free space in the memory pool for more packets.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of packets residing in all TX and RX FIFOs. </dd></dl>

</div>
</div>
<a class="anchor" id="ga6c3f739115d7087f2cb0db11e7af54c8"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_ok_to_add_packet_to_tx_fifo" ref="ga6c3f739115d7087f2cb0db11e7af54c8" args="(uint32_t pipe)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_ok_to_add_packet_to_tx_fifo </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pipe</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Check if adding a packet to a pipe's TX FIFO should be successful. </p>
<p>Checks if there is another space in the pipe's TX and RX FIFOs as well as enough overall space in the packet pool.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pipe</td><td>The pip for which to check. This value must be &lt; NRF_GZLL_CONST_PIPE_COUNT.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If there is another space. </td></tr>
    <tr><td class="paramname">false</td><td>If there is not enough space, or the pipe is invalid. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga84321e0115f0b19f1c9c75c3a1b818bc"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_flush_tx_fifo" ref="ga84321e0115f0b19f1c9c75c3a1b818bc" args="(uint32_t pipe)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_flush_tx_fifo </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pipe</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Flush the RX FIFO for a specific pipe. </p>
<p>Delete all the packets and free the memory of the TX FIFO for a specific pipe.</p>
<p>Note that it is not allowed to flush a TX FIFO when Gazell is enabled.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pipe</td><td>is the pipe for which to flush. This value must be &lt; NRF_GZLL_CONST_PIPE_COUNT. </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>if the pipe was flushed. </td></tr>
    <tr><td class="paramname">false</td><td>if the pipe was not flushed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaf28a21bdbcc64b12e1c84f95f2371603"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_flush_rx_fifo" ref="gaf28a21bdbcc64b12e1c84f95f2371603" args="(uint32_t pipe)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_flush_rx_fifo </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pipe</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Flush the RX FIFO for a specific pipe. </p>
<p>Delete all the packets and free the memory of the RX FIFO for a specific pipe.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pipe</td><td>is the pipe for which to flush. This value must be &lt; NRF_GZLL_CONST_PIPE_COUNT. </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>if the pipe was flushed. </td></tr>
    <tr><td class="paramname">false</td><td>if the pipe was not flushed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaac5d6bc55829dc0cecc0eaf4889f8592"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_set_mode" ref="gaac5d6bc55829dc0cecc0eaf4889f8592" args="(nrf_gzll_mode_t mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_set_mode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gzll__02__api.html#ga2321f5573e2cd70651559e6380433eda">nrf_gzll_mode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the mode. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mode</td><td>The mode to be used. See nrf_gzll_mode_t for a list of valid modes.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If the parameter was set. </td></tr>
    <tr><td class="paramname">false</td><td>If Gazell was enabled or the mode was invalid. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaeffe498ba9c2aed68eb2c516eff61574"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_mode" ref="gaeffe498ba9c2aed68eb2c516eff61574" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gzll__02__api.html#ga2321f5573e2cd70651559e6380433eda">nrf_gzll_mode_t</a> nrf_gzll_get_mode </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get function counterpart to <a class="el" href="group__gzll__02__api.html#gaac5d6bc55829dc0cecc0eaf4889f8592" title="Set the mode.">nrf_gzll_set_mode()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The current mode. </dd></dl>

</div>
</div>
<a class="anchor" id="gada5d1b9ca90be29ebc600a977cb1ba2d"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_set_base_address_0" ref="gada5d1b9ca90be29ebc600a977cb1ba2d" args="(uint32_t base_address)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_set_base_address_0 </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>base_address</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the base address for pipe 0. </p>
<p>The full on-air address for each pipe is composed of a multi-byte base address prepended to a prefix byte.</p>
<p>For packets to be received correctly, the most significant byte of the base address should not be an alternating sequence of 0s and 1s i.e. it should not be 0x55 or 0xAA.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">base_address</td><td>The 4 byte base address. All bytes are used.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If the parameter was set. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>false If Gazell was enabled. </dd></dl>

</div>
</div>
<a class="anchor" id="gaaf2d35d57c38533a2f993f6d6bbf7e88"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_base_address_0" ref="gaaf2d35d57c38533a2f993f6d6bbf7e88" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t nrf_gzll_get_base_address_0 </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get function counterpart to <a class="el" href="group__gzll__02__api.html#gada5d1b9ca90be29ebc600a977cb1ba2d" title="Set the base address for pipe 0.">nrf_gzll_set_base_address_0()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Base address 0. </dd></dl>

</div>
</div>
<a class="anchor" id="gafae33f3818b7c9a64d368352e7218a08"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_set_base_address_1" ref="gafae33f3818b7c9a64d368352e7218a08" args="(uint32_t base_address)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_set_base_address_1 </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>base_address</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the base address for pipes 1-7. </p>
<p>Pipes 1 through 7 share base_address_1. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__gzll__02__api.html#gada5d1b9ca90be29ebc600a977cb1ba2d" title="Set the base address for pipe 0.">nrf_gzll_set_base_address_0</a>.</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">base_address</td><td>The 4 byte base address.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If the parameter was set. </td></tr>
    <tr><td class="paramname">false</td><td>If Gazell was enabled. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga3b5d543cc896193e1fe6d7eeffeba6b3"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_base_address_1" ref="ga3b5d543cc896193e1fe6d7eeffeba6b3" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t nrf_gzll_get_base_address_1 </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get function counterpart to <a class="el" href="group__gzll__02__api.html#gafae33f3818b7c9a64d368352e7218a08" title="Set the base address for pipes 1-7.">nrf_gzll_set_base_address_1()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Base address 1. </dd></dl>

</div>
</div>
<a class="anchor" id="ga8ddb9c88340dfa0dd26a49f5a233bc14"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_set_address_prefix_byte" ref="ga8ddb9c88340dfa0dd26a49f5a233bc14" args="(uint32_t pipe, uint8_t address_prefix_byte)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_set_address_prefix_byte </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pipe</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>address_prefix_byte</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the address prefix byte for a specific pipe. </p>
<p>Each pipe should have its own unique prefix byte.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pipe</td><td>The pipe that the address should apply to. This value must be &lt; NRF_GZLL_CONST_PIPE_COUNT. </td></tr>
    <tr><td class="paramname">address_prefix_byte</td><td>The address prefix byte.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If the parameter was set. </td></tr>
    <tr><td class="paramname">false</td><td>If Gazell was enabled, or if the pipe was invalid. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga0af9242850d7e512721f941fe12bd6bc"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_address_prefix_byte" ref="ga0af9242850d7e512721f941fe12bd6bc" args="(uint32_t pipe, uint8_t *out_address_prefix_byte)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_get_address_prefix_byte </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pipe</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>out_address_prefix_byte</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga8ddb9c88340dfa0dd26a49f5a233bc14" title="Set the address prefix byte for a specific pipe.">nrf_gzll_set_address_prefix_byte()</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pipe</td><td>The pipe for which to get the address. This value must be &lt; NRF_GZLL_CONST_PIPE_COUNT. </td></tr>
    <tr><td class="paramname">out_address_prefix_byte</td><td>The pointer in which to return the address prefix byte.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If the parameter was returned. </td></tr>
    <tr><td class="paramname">false</td><td>If Gazell was enabled, the pipe was invalid or out_address was a NULL pointer. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga7c41a4d1c773221ad106ebc67832da77"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_set_rx_pipes_enabled" ref="ga7c41a4d1c773221ad106ebc67832da77" args="(uint32_t pipes)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_set_rx_pipes_enabled </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pipes</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set which pipes shall listen for packets in Host mode. </p>
<p>This value is a bitmap, and each bit corresponds to a given pipe number. Bit 0 set to "1" enables pipes 0, bit 1 set to "1" enables pipe 1 and so forth. The maximum number of pipes is defined by NRF_GZLL_CONST_PIPE_COUNT.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pipes</td><td>A bitmap specifying which pipes to monitor.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If the parameter was set. </td></tr>
    <tr><td class="paramname">false</td><td>If Gazell was enabled. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gac3b61acd9649d1bf7fe951176b6b6750"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_rx_pipes_enabled" ref="gac3b61acd9649d1bf7fe951176b6b6750" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t nrf_gzll_get_rx_pipes_enabled </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga7c41a4d1c773221ad106ebc67832da77" title="Set which pipes shall listen for packets in Host mode.">nrf_gzll_set_rx_pipes_enabled()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Bitmap holding the current enabled pipes. </dd></dl>

</div>
</div>
<a class="anchor" id="ga3347094a64c07793c773c4fdf4bc4bff"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_set_timeslot_period" ref="ga3347094a64c07793c773c4fdf4bc4bff" args="(uint32_t period_us)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_set_timeslot_period </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>period_us</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the timeslot period. </p>
<p>The length in microseconds of a Gazell link layer timeslot.</p>
<p>The minimum value of the timeslot period is dependent of the radio data rate (</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__gzll__02__api.html#ga31ea7c06c87b5068dcd39be89f390142" title="Set the radio datarate.">nrf_gzll_set_datarate()</a>).</dd></dl>
<ul>
<li>For NRF_GZLL_DATARATE_2MBIT the timeslot period must be &gt;= 600 us.</li>
<li>For NRF_GZLL_DATARATE_1MBIT the timeslot period must be &gt;= 900 us.</li>
<li>For NRF_GZLL_DATARATE_250KBIT the timeslot period must be &gt;= 2700 us.</li>
</ul>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">period_us</td><td>The timeslot period in microseconds.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If the parameter was set. </td></tr>
    <tr><td class="paramname">false</td><td>If Gazell was enabled. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga4fa5dc9ec5f9686ce38fffbb2eded3e2"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_timeslot_period" ref="ga4fa5dc9ec5f9686ce38fffbb2eded3e2" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t nrf_gzll_get_timeslot_period </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga4fa5dc9ec5f9686ce38fffbb2eded3e2" title="Get function counterpart to nrf_gzll_get_timeslot_period().">nrf_gzll_get_timeslot_period()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The current timeslot period. </dd></dl>

</div>
</div>
<a class="anchor" id="ga692ed4d88a064fdf9a4e69f939582911"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_set_device_channel_selection_policy" ref="ga692ed4d88a064fdf9a4e69f939582911" args="(nrf_gzll_device_channel_selection_policy_t policy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_set_device_channel_selection_policy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gzll__02__api.html#gad45683bddfd8a170f89280b722f7744c">nrf_gzll_device_channel_selection_policy_t</a>&#160;</td>
          <td class="paramname"><em>policy</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the Device channel selection policy. </p>
<p>The policy determines the initial channel when starting a new packet. transmission.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">policy</td><td>The channel selection policy.</td></tr>
  </table>
  </dd>
</dl>
<ul>
<li>NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_SUCCESSFUL specifies that a new packet transmission always shall use the previous successful channel from the channel table. If Gazell is "in sync", Gazell will wait until this channel is being monitored by the Host before starting the transmission.</li>
</ul>
<ul>
<li>NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_CURRENT specifies that Gazell shall transmit on the channel that is currently being monitored by the Host. This parameter is only used when Gazell is "in sync". When "out of" sync, Gazell will always start using the "previous successful" channel.</li>
</ul>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If the parameter was set. </td></tr>
    <tr><td class="paramname">false</td><td>If Gazell was enabled or the policy was invalid. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga81c1cb06617bc0ceb9efa2f461d0f5c6"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_device_channel_selection_policy" ref="ga81c1cb06617bc0ceb9efa2f461d0f5c6" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gzll__02__api.html#gad45683bddfd8a170f89280b722f7744c">nrf_gzll_device_channel_selection_policy_t</a> nrf_gzll_get_device_channel_selection_policy </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga692ed4d88a064fdf9a4e69f939582911" title="Set the Device channel selection policy.">nrf_gzll_set_device_channel_selection_policy()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the Device channel selection policy. </dd></dl>

</div>
</div>
<a class="anchor" id="gaf636a5a1aa2d4a791849de510b69a604"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_set_timeslots_per_channel" ref="gaf636a5a1aa2d4a791849de510b69a604" args="(uint32_t timeslots)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_set_timeslots_per_channel </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>timeslots</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the number of timeslots that Gazell shall reside on a single channel before switching to another channel. </p>
<p>This parameter applies in Host mode and for a Device that is in the "in sync" state.</p>
<p>Since the Device and Host can not be in perfect synchronization, a transmission should overlap to adjacent timeslots on the Host. Therefore this value should be at least 2.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="group__gzll__02__api.html#ga8a1bef2e6f32bd8dc55e9abde3007aed" title="Set the number of timeslots that a Gazell shall reside on a single channel before switching to anothe...">nrf_gzll_set_timeslots_per_channel_when_device_out_of_sync</a></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">timeslots</td><td>The number of timeslots to reside on each channel before channel switch.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If the parameter was set. </td></tr>
    <tr><td class="paramname">false</td><td>If Gazell was enabled. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga815a055f876aef1dded974fae68eb976"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_timeslots_per_channel" ref="ga815a055f876aef1dded974fae68eb976" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t nrf_gzll_get_timeslots_per_channel </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get function counterpart to <a class="el" href="group__gzll__02__api.html#gaf636a5a1aa2d4a791849de510b69a604" title="Set the number of timeslots that Gazell shall reside on a single channel before switching to another ...">nrf_gzll_set_timeslots_per_channel()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The current number of timeslots. </dd></dl>

</div>
</div>
<a class="anchor" id="ga8a1bef2e6f32bd8dc55e9abde3007aed"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_set_timeslots_per_channel_when_device_out_of_sync" ref="ga8a1bef2e6f32bd8dc55e9abde3007aed" args="(uint32_t timeslots)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_set_timeslots_per_channel_when_device_out_of_sync </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>timeslots</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the number of timeslots that a Gazell shall reside on a single channel before switching to another channel when in the "out of sync" state. </p>
<p>This value should be set so that the Device transmits on one channel while the Host goes through a full channel rotation, i.e., channel_table_size*timeslots_per_channel. This ensures that the channels on the Device and Host will coincide at some point. Further increasing the value has been observed to provide better performance in the presence of interferers.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">timeslots</td><td>The number of timeslots to reside on each channel before channel switch.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If the parameter was set. </td></tr>
    <tr><td class="paramname">false</td><td>If Gazell was enabled. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga16188f10fcefb950bc8d7f3498214bfa"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_timeslots_per_channel_when_device_out_of_sync" ref="ga16188f10fcefb950bc8d7f3498214bfa" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t nrf_gzll_get_timeslots_per_channel_when_device_out_of_sync </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga8a1bef2e6f32bd8dc55e9abde3007aed" title="Set the number of timeslots that a Gazell shall reside on a single channel before switching to anothe...">nrf_gzll_set_timeslots_per_channel_when_device_out_of_sync()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The current number of timeslots. </dd></dl>

</div>
</div>
<a class="anchor" id="ga1b34f8db6bfac6c6e232c2767a260bf3"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_set_sync_lifetime" ref="ga1b34f8db6bfac6c6e232c2767a260bf3" args="(uint32_t lifetime)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_set_sync_lifetime </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>lifetime</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the number of timeslots after a successful reception of a Device or Host packet that the Gazell Link Layer shall assume that the link is synchronized. A value of 0 implies that the link is always out of sync. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">lifetime</td><td>The sync lifetime in number of timeslots.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If the sync lifetime was set. </td></tr>
    <tr><td class="paramname">false</td><td>If Gazell was enabled. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gabefa7b61295caa3d3fc1faaf594286bd"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_sync_lifetime" ref="gabefa7b61295caa3d3fc1faaf594286bd" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t nrf_gzll_get_sync_lifetime </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga1b34f8db6bfac6c6e232c2767a260bf3" title="Set the number of timeslots after a successful reception of a Device or Host packet that the Gazell L...">nrf_gzll_set_sync_lifetime()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The sync lifetime measured in number of timeslots. </dd></dl>

</div>
</div>
<a class="anchor" id="ga6e1c4ec6c4f7acf92a97bffbb6b89333"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_set_max_tx_attempts" ref="ga6e1c4ec6c4f7acf92a97bffbb6b89333" args="(uint16_t max_tx_attempts)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_set_max_tx_attempts </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>max_tx_attempts</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the maximum number of TX attempts that can be used for a single packet. </p>
<p>After the maximum number of attempts have been spent without receiving any ACK from the Host, the transmission will be terminated and the <a class="el" href="group__gzll__02__api.html#ga0642fed399ed3ec41406cd4323edf5ad" title="Transmission failed callback (Device mode only).">nrf_gzll_device_tx_failed()</a> callback will be called.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">max_tx_attempts</td><td>The maximum number of TX attempts.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If the parameter was set. </td></tr>
    <tr><td class="paramname">false</td><td>If Gazell was enabled. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaf74cd71124b955a69d7db6ea401631c6"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_max_tx_attempts" ref="gaf74cd71124b955a69d7db6ea401631c6" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t nrf_gzll_get_max_tx_attempts </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga6e1c4ec6c4f7acf92a97bffbb6b89333" title="Set the maximum number of TX attempts that can be used for a single packet.">nrf_gzll_set_max_tx_attempts()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The current max Device TX attempts. </dd></dl>

</div>
</div>
<a class="anchor" id="ga1aa10efb06cf0cd2a5b197a4cd65deaa"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_set_channel_table" ref="ga1aa10efb06cf0cd2a5b197a4cd65deaa" args="(uint8_t *channel_table, uint32_t size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_set_channel_table </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>channel_table</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the table of Radio Frequency (RF) channels. </p>
<p>The valid channels are in the range 0 &lt;= channel &lt;= 125, where the actual centre frequency is (2400 + channel) MHz. The maximum channel table size is defined by NRF_GZLL_CONST_MAX_CHANNEL_TABLE_SIZE.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">channel_table</td><td>Pointer to the channel table. </td></tr>
    <tr><td class="paramname">size</td><td>The size of the channel table.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If the channel table was set. </td></tr>
    <tr><td class="paramname">false</td><td>If Gazell was enabled, or the channel_table pointer was NULL, or the size was invalid. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga803e8873a16e0379a752d6252da51fb5"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_channel_table" ref="ga803e8873a16e0379a752d6252da51fb5" args="(uint8_t *channel_table, uint32_t *size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_get_channel_table </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>channel_table</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t *&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the table of Radio Frequency (RF) channels. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">channel_table</td><td>Pointer to copy the channel table to. </td></tr>
    <tr><td class="paramname">size</td><td>Pointer to copy the size of the channel table to. The value already at size must be at least the size of the channel table.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If the channel table was copied to channel_table. </td></tr>
    <tr><td class="paramname">false</td><td>If the channel_table pointer was NULL, or the size was not large enough. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gad8c90e87c445372cde7175b4a55d6bec"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_channel_table_size" ref="gad8c90e87c445372cde7175b4a55d6bec" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t nrf_gzll_get_channel_table_size </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the current channel table size. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The current channel table size. </dd></dl>

</div>
</div>
<a class="anchor" id="ga5d1f1ac31b3e851935545858529e6420"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_set_tx_power" ref="ga5d1f1ac31b3e851935545858529e6420" args="(nrf_gzll_tx_power_t tx_power)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_set_tx_power </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gzll__02__api.html#ga838445eeb3dabb47b746708bf4cf851d">nrf_gzll_tx_power_t</a>&#160;</td>
          <td class="paramname"><em>tx_power</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the radio TX power. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">tx_power</td><td>TX power.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If the parameter was set. </td></tr>
    <tr><td class="paramname">false</td><td>If Gazell was enabled or the TX power was invalid. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga48046c21e470386267c79b9ee08d5026"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_tx_power" ref="ga48046c21e470386267c79b9ee08d5026" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gzll__02__api.html#ga838445eeb3dabb47b746708bf4cf851d">nrf_gzll_tx_power_t</a> nrf_gzll_get_tx_power </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga5d1f1ac31b3e851935545858529e6420" title="Set the radio TX power.">nrf_gzll_set_tx_power()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The current TX power. </dd></dl>

</div>
</div>
<a class="anchor" id="ga31ea7c06c87b5068dcd39be89f390142"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_set_datarate" ref="ga31ea7c06c87b5068dcd39be89f390142" args="(nrf_gzll_datarate_t data_rate)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool nrf_gzll_set_datarate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gzll__02__api.html#gabb5224046a930344cc3f5586bf9b064a">nrf_gzll_datarate_t</a>&#160;</td>
          <td class="paramname"><em>data_rate</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the radio datarate. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">data_rate</td><td>Datarate.</td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>If the parameter was set. </td></tr>
    <tr><td class="paramname">false</td><td>If Gazell was enabled or the datarate was invalid. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gac815ca7c9ad81b9193f2f1d1aa7aa302"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_datarate" ref="gac815ca7c9ad81b9193f2f1d1aa7aa302" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gzll__02__api.html#gabb5224046a930344cc3f5586bf9b064a">nrf_gzll_datarate_t</a> nrf_gzll_get_datarate </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga31ea7c06c87b5068dcd39be89f390142" title="Set the radio datarate.">nrf_gzll_set_datarate()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The current datarate. </dd></dl>

</div>
</div>
<a class="anchor" id="gab36bed58f70b88b8fede5d3d8fa3f1c7"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_get_error_code" ref="gab36bed58f70b88b8fede5d3d8fa3f1c7" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__gzll__02__api.html#gaa51ebe606da1801bb1ce72b2257356ab">nrf_gzll_error_code_t</a> nrf_gzll_get_error_code </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the Gazell error code. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The current error code. </dd></dl>

</div>
</div>
<a class="anchor" id="gaeeb3f4c59577bed1590267385d5e13f2"></a><!-- doxytag: member="nrf_gzll.h::nrf_gzll_reset_error_code" ref="gaeeb3f4c59577bed1590267385d5e13f2" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void nrf_gzll_reset_error_code </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reset the Gazell error code. </p>
<p>The error code is reset to NRF_GZLL_ERROR_CODE_NO_ERRROR. </p>

</div>
</div>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>

    <li class="footer">
      Copyright &copy 2006-2011 <a href="http://www.nordicsemi.no" style="text-decoration:none">Nordic Semiconductor</a>.
      All Rights Reserved.
      <a href="disclaimer.html">Disclaimer</a>
    </li>
   </ul>
 </div>


</body>
</html>
